Extension:Mp3

This Mp3 extension insert a really light (4 KB) flash which streams an MP3 uploaded file or external.

You can download the dewplayer 1.2 at estvideo.com.

If you don't understand French, scroll to "Télécharger l'animation Shockwave Flash" and choose "dewplayer 1.2 reloaded" or higher, (ignore the "soviet edition").

About the licence of the DewPlayer, here is what its author says : the dewlicence : you can use it as you want, no need to link to author's site, principles of Creative Commons Attribution-ShareAlike License France.

Demo

 * http://tousauxbalkans.jexiste.fr/MP3

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

Requisits

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

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 much players on the same page (probably more than 20) : some instances of the flash don't load.

Install instructions

 * 1) Include it at the end of your LocalSettings.php : include("extensions/mp3.php");
 * 2) If you want to accept mp3 uploads, add .mp3 in the extension list : $wgFileExtensions = array('png','gif',...,'mp3');

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