
AAC+ Icecast2 stream with JW Player
Hi,
The URL is:
http://radio.joinmyserver.com:8000/
I try to get the AAC+ stream to work with JW Player.
I read this article:
http://www.thebitstream.com/?p=233
So, it should be possible!?
bc.. <div id="player" align="center"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript">
var so = new SWFObject('flash/player.swf', 'DFM-player', '300', '55','7');
so.addVariable('type', 'radio');
so.addParam('allowfullscreen','true');
so.addVariable('file', 'http://radio.joinmyserver.com:8000/radio.aac');
so.addVariable("autostart","false");
so.addVariable('displayheight','80');
so.addVariable('height','55');
so.addVariable('width','300');
so.addVariable('showeq','true');
so.addVariable('showdigits','false');
so.addVariable('frontcolor','0xffffff');
so.addVariable('backcolor','0x4F4F4F');
so.addVariable('lightcolor','0xFC9003');
so.addVariable('showicons','true');
so.addVariable('shuffle','false');
so.addVariable('usecaptions','true');
so.addVariable('usefullscreen','true');
so.addVariable('volume','95');
so.write('player');
</script>
Another try from me:
bc.. <div id='container'>The player will be placed here</div>
<script type="text/javascript">
var flashvars = {
file:'livepresentation',
flashvars:'file=http://radio.joinmyserver.com:8000/radio.aac&provider=video'
};
swfobject.embedSWF('flash/player.swf','container','480','270','9.0.115','false', flashvars,
{allowfullscreen:'false',allowscriptaccess:'always'},
{id:'jwplayer',name:'jwplayer'}
);
</script>
Both ways failed. It says it's not a valid media provider. I just don't know what I'm going wrong. The stream URL itself it just working great in XiiaLive, Winamp and VLC.
Thanks!
Kind regards,
Melroy van den Berg