Hi,
I'm having problems to reproduce a ShoutCast radio stream on Firefox
3.6.x and IE8. In these two browsers jPlayer is using the FLASH
solution to reproduce the url. The streaming is in AAC format. This is
the code (the url is just an example):
$("#jquery_jplayer_1").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
m4a: "
http://www.shoutcast-server.com:60030/",
}).jPlayer("play");
},
ended: function (event) {
$(this).jPlayer("play", 20);
},
swfPath: "js",
solution: "html, flash",
supplied: "m4a"
});
This is working ok when I used a simple file name that ends with the
".m4a" extension (e.g.
http://www.jplayer.org/audio/m4a/Miaow-08-Stirring-of-a-fool.m4a).
However, I have tried with more than 5 Shoutcast radio streams that
have the URL like this one:
http://www.grupolorini.com:60010/
With the Shoutcast URLs, I checked with Firebug the responses and I'm
receiving the HTML index page's code (something like this page:
http://82.165.130.87:8510/) instead the audio streaming.
Any ideas to fix this problem.
PD: the shoutcast URLs are working ok on Safari, because this is using
the HTML5 instead the FLASH version.
Thanks in advance.
http://www.jplayer.org/audio/m4a/Miaow-08-Stirring-of-a-fool.m4a