GeezerVison is showing www.mediawiki.org — Extension:SoundManager2Button - MediaWiki
| This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored.
If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{Extension }} infobox. |
The SoundManager2Button extension allows to embed a SoundManager2 MP3 play button to play a local MP3 file.
Usage
<sm2>Fa_la_la.mp3</sm2>
Note: "File:Fa_la_la.mp3" must exist locally.
Installation
- Download and move the extracted
SoundManager2Button folder to your extensions/ directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/SoundManager2Button
- Add the following code at the bottom of your LocalSettings.php file:
require_once "$IP/extensions/SoundManager2Button/SoundManager2Button.php";
$wgFileExtensions[] = 'mp3';
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
License
This extension is licensed GPL-3.0-or-later however requires files released under BSD-3-Clause.