Extension talk:Mp3

Mp3 streams
Thank you for this extension ! It works fine for streamed mp3 like webradio :] Greudin 00:32, 17 October 2006 (UTC)

Works great, but first click doesnt work
After a page loads, the first click of the play button doesnt work. I have now seen that, its IE which requires the extra click. We can get around this by using a javascript code technique: and here:  A tool for working this out:

The main thing is to get rid of that extra click. That would be nice, if it can be done.

Also the high CPU usage with lots of extensions on the same page should be checked. Is there any way we can get the code for this flash player?

--Matt57 05:30, 21 October 2006 (UTC)

Click problem will not change
I will not use an external javascript for document.write('...') That's silly and will not work for people with JavaScript disabled !

I'm not sure, but for applet Opera make the same thing. I need to click first on it before to use it.

For the high CPU usage, I don't know. I've problem on page with more than 15 or 20 mp3. Just reload (F5) and it's ok. The source code is not available, I think the author of the flash script says on his site he will not show the source code, because a lot of people ask for many many features and he wants to let it as simple and light as possible.

--Iubito 05:27, 30 October 2006 (UTC)
 * The CPU usage is a sad thing. If it gets beyond 15 players, the slowing effect is very bad. I wish we could get the code somehow. I'm sure its a silly issue. I've emailed the author but didnt get a response.

Ogg Vorbis
This looks really cool, but what I really need is to play ogg files, not mp3. Does anyone know if that functionality is available anywhere? Bob the Hamster 19:38, 8 November 2006 (UTC)


 * Hi Bob, this player doesn't play ogg :( I too would like a ogg player... if you find one, tell me ! --Iubito 13:10, 17 November 2006 (UTC)


 * There's always the Wikipedia implementation.
 * --Pcj 15:42, 12 January 2007 (UTC)


 * Where ? --Iubito 07:18, 13 February 2007 (UTC)

1.8.3?
I'm having trouble getting this to work in 1.8.3...it's still in my LocalSettings and I haven't moved the extension itself...is this working for anyone else?

--Pcj 18:00, 9 January 2007 (UTC)


 * I update from 1.8.2 to 1.9, it still works. --Iubito 13:04, 12 January 2007 (UTC)

Automatic Start
Is it possible to start a MP3-file automatically if someone open a specific site? --Ulli1105 19:43, 2 October 2007 (UTC)

Invalid File names & HTTPS
--Axelseaa 13:42, 16 October 2007 (UTC) We have had a few users attempt to enter invalid filenames such as ###, php will bomb with a fatal error. I also made a change to allow for https links. To correct this, i've added the following in the renderMp3 function: function renderMp3($input) { global $wgScriptPath, $wgUploadPath; //$input = "filename.mp3"; $arr = explode('|', trim($input)); $addDLlink = isset($arr[1]) && ($arr[1] == 'download'); $input = $arr[0]; $img = Image::newFromName($input); $mp3 = ''; $bgcolor = 'FFF8DC'; //You can change it, of course :-)
 * 1) The callback function for converting the input text to HTML output

// If invalid filename is entered, bail out. ex. ### if (!isset($img)) { return ' Invalid Filename ('.$input.'). ';       }

//The parameters for object and embed # File uploaded or external link ? if (!$img->exists) { //Must be http:// or https://... URL if (substr($input,0,7) == 'http://' || substr($input,0,8) == 'https://') $mp3 = $input; } else $mp3 = $img->getURL; if ($mp3 == '') return ' Fichier manquant : '.$input.' '                       .'Missing ressource: '.$input.' '; unset($img);

$output = '' . '' . '' . '' . '' . '' .' '       .' ';        if ($addDLlink) { $output .= '' .'' .''; }       return $output; }

getting 403 error
I added this extension to a 1.9.3 mediawiki instalation.

It gets an 403 error at

''' http://siteurl/w/extensions/dewplayer.swf?son=/w/images/a/a9/music.mp3&bgcolor=FFF8DC '''

and the player appears without buttons, just a rectangle.

I also get a forbidden 403 at http://siteurl/w/extensions/dewplayer.swf

however both the folder and the file are chmod 755

Any ideas? Thank you!

it may be a permission issue - dewplayer.swf is not accessible to the web server. --Sam Watkins

Testing
Hi this is a testing purpose

Couldn't get dewplayer to work on mediawiki 13.1 and 13.2, so am using mini player version!
Hi, I loved the look of this plugin but couldn't get it working.

So I've modified this to use mini mp3 player which is really quick!

Also, helps to refresh the page while your trying to get this working as per http://kb.siteground.com/article/How_to_clear_the_page_cache_in_MediaWiki.html :-)

Please let me know how you get on! --SamWatkins 19:14, 3 April 2009 (UTC)