
Problems playing m3u or pls in jwplayer
Hi there!
i have a new problem with my lovely jwplayer^^
i'm trying to get some online radios played in jwplayer.
so i read much articles from google and found this plugins for the jwplayer to support m3u and pls
http://www.pa-s.de/php/codeschnipsel-Extended-M3U-Plugin-for-Flash-MP3-Player-43.php
http://www.pa-s.de/php/codeschnipsel-PLS-Plugin-for-Flash-MP3-Player-50.php
So i took the plugin code, added the url into the array and set the player up like followed:(example with the m3u plugin).
[code]
function playRadio(){
jwplayer("footer_player").setup({
flashplayer: "player/player.swf",
skin: "player/fs40/fs40.xml",
file: 'em3uplugin.php?m3u=1',
type: 'sound',
height: '45',
width: '100%',
autostart: true,
controlbar: 'bottom'
});
[/code]
and in the plugin code i just changed the playlist array like followed:
[code]
$playlist = array(
'1' => 'http://www.radio21.de/cms/fileadmin/playlist/radio21.m3u'
);
[/code]
the rest of the plugin code is like in the link on top.
You can see the example page here:
http://betreutes-wohnen-am-sternplatz.de/play2/sender.php
when clicking on the "klick" link afther the "181.FM - The Eagler nr.1" in the webradio channel the player starts.
it really seems like it would play the radio (the pause button appears insted of the play button).
can anyone help me?
best regards from germany
simon