Extension:SoundManager2Button

What can this extension do?
Embeds a SoundManager2 MP3 play button to play a local MP3 file.

Usage
Fa la la.mp3

''File:Fa_la_la.mp3 must exist locally. You will need to allow .mp3 uploads.''

The Futures
I know very little about MediaWiki and PHP. If you want to improve this code, or edit this page, be my guest. Some ways you can help:


 * Find/fix security holes.
 * Find/fix deprecated functions and needlessly weird code.
 * Find/fix style errors.

SoundManager 2 is an awesome and flexible audio player. Perhaps somebody will find it useful to add arguments to this code to tap some of that flexibility.

Download instructions
To download SoundManager2Button, issue the following shell command: svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/AssertEdit/

Or, if you prefer, cut and paste the files found below and place them in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php. Then download the latest version of SoundManager 2 and include the required files as stated in SoundManager2Button.php.

Installation
To install this extension, add the following to LocalSettings.php: