Extension:Mp3


 * Note: This extension may not work. For an audio extension with more features, see: Extension:FlashMP3

This Mp3 extension inserts a really light (4 KB) Flash player which streams an uploaded (or external) MP3 file.

You can download the DewPlayer from Alsacréations.

Demo

 * www.tousauxbalkans.net

Tag
uploaded filename.mp3 or external URL or uploaded filename.mp3 or external URL|download The "download" parameter adds an icon with link to download the mp3

Requisites

 * dewplayer.swf in the $wgScriptPath/extensions directory
 * download.gif in the images ($wgUploadPath) directory : an image of your choice, e.g.

I tested successfully the flash player on IE 6, Opera 9, Firefox on Windows 2000. Should work mostly everywhere. Some problems appear if there are too many players on the same page (probably more than 20) : some instances of the flash don't load.

Install instructions
Include it at the end of your LocalSettings.php: If you want to accept mp3 uploads, add .mp3 in the extension list:

PHP code (copy from here!)
Copy/paste into your editor, save it to extensions/mp3.php, and then upload it to your site.