I'm using jplayer to play shoutcast streams, I encountered strange issue where 1 stream works and other doesn't -
i've weirdest problem can play 1 shoutcast station , cannot other using jplayer. strange information of shoutcast server hints on similar configuration:
http://198.27.79.224:9770/ http://108.61.73.119:8128/
i must note flash version of jplayer plays both, html version plays first one.
jplayer js looks this
<script type="text/javascript"> //<![cdata[ $(document).ready(function(){ new jplayerplaylist({ jplayer: "#jquery_jplayer_1", cssselectorancestor: "#jp_container_1" }, [ { title:"#1 stream", mp3:"http://108.61.73.119:8128/;stream/1" }, { title:"#2 stream", mp3:"http://108.61.73.118:8128/;stream/1" }, { title:"#3 stream", mp3:"http://108.61.73.117:8128/;stream/1" }, { title:"#4 stream", mp3:"http://198.27.79.224:9770/;stream/1" }, ], { swfpath: "jplayer", supplied: "mp3", wmode: "window", preload: "none", //solution: "flash, html", smoothplaybar: true, keyenabled: true }); $("#jplayer_inspector_1").jplayerinspector({jplayer:$("#jquery_jplayer_1")}); }); //]]> </script>
any ideas?
it seems flash version plays of streams, html5 version selected few. never got bottom of problem.
Comments
Post a Comment