
Icecast2 mounted stream in JW player
Hello there.
At the moment, i have bog standard player using a skin, playing a shoutcast stream. This works fine, as the standard shoutcast stream was simply *http://iphere:port* e,g, *http://172.0.2.31:8001/*. But with Icecast, it uses mounts, such as *http://iphere:port/mount* e.g. *http://172.0.2.31:8001/live*. This does not seem to play in the JW player using the usual method of *;stream.nsv* (which i used to do the shoutcast version as a test). When using the icecast stream with the mount-point extension (which is needed in icecast), the stream does not seem to work. I know that it is not a problem with the stream, as the Icecast stream works perfectly through an embedded windows media player on a web-page.
Here is my player's code. Hopefully one of you kind people will be able to help me on this one, as I've tried multiple methods to try and sort this, with no luck. :)
Cheers, Ryan.
bc.. <p id='preview'>If you cannot see the player, you must have a JavaScript enabled browser as well as the latest flash player installed.</p>
<script type='text/javascript' src='js/swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','300','56','8');
s1.addParam('allowfullscreen','false');
s1.addParam('allowscriptaccess','always');
s1.addParam('file','http://172.0.2.31:8001/livewire/;stream.nsv');
s1.addParam('type','sound');
s1.addParam('skin','kleur.swf');
s1.addParam('backcolor','5A7294');
s1.addParam('frontcolor','5A7294');
s1.addParam('lightcolor','FFFFFF');
s1.addParam('screencolor','FFFFFF');
s1.addParam('autostart','true');
s1.write('preview');
</script>