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:


 * Upload this code to a real SVN (and change the download link).
 * 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
Download all necessary files.

Or, if you prefer, cut and paste the code found below and place it 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: