Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Shoutcast HTML5


Hi,

I'm hoping somebody will be able to help me getting shoutcast working with jwplayer 5.4, javascript embedded mode.

I'm unable to get the JW Player to play my shoutcast stream in HTML5, It works OK in flash.
The reason I want to use HTML5 is so iPad, iPhone etc will work.

I've got the javascript embeded and the player works OK when loaded on a PC in flash but but will not play my my iphone, the iphoen states its unable to download the file,
Hope somebody can help.
..

bc.. <div id="container">Loading the player ...</div><script type="text/javascript">jwplayer("container").setup({autostart: true,flashplayer: "player.swf",file: "http://208.53.138.125:8389/;stream.nsv&type=mp3",provider: "sound",height: 270,width: 480});</script>

10 Community Answers

JW Player

User  
0 rated :

This works for me:
http://208.53.138.125:8389/;&type=sound

Ethan Feldman

JW Player Support Agent  
0 rated :

@Biggus – I don’t believe ShoutCast is supported in HTML5, so therefore, the iPhone will not work, either.

JW Player

User  
0 rated :

Thanks Ethan, I have it working fine on a iphone, checkout http://iphone.summertimeradio.com/str1

Ethan Feldman

JW Player Support Agent  
0 rated :

Of course, this is a pls file, which is an Apple format…

JW Player

User  
0 rated :

Hi,

5.5 is out now but I still can't get this to work. Any Ideas anyone?

Ethan Feldman

JW Player Support Agent  
0 rated :

Link?

JW Player

User  
0 rated :

I know for a fact that shoutcast streams will work in HTML5; however HTML5 support is browser limited as far as I can tell.

To pull a simple HTML5 player (not JW) try this embed code - I know this is working in Chrome.

bc.. <audio src="http://yourstreaURL.com:8000/;stream/1/" controls> </audio>


Also I've built a simple jquery player using HTML5 for ShoutCast and it also works in most browsers. The embed code there:
bc.. $(document).ready(function(){

$("#jquery_jplayer_1").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
mp3: "http://YourStreamURL.com:8012/;stream/1"
}).jPlayer("play");



I too am working to provide a solution for web and smart phones and trying all types of solutions. I just d/l the latest HTML5 version of JW and will see if I can get that to work as I prefer the JW player.

The last version (5.0) of the JW player had an issue with SC as it would not auto start. You had to move the slider to get the station to respond, so I had to abandon it and use the older version. I had hoped to use the playlist there to first start a video and when the video finished it would then start SC, but to no avail. I was told by LongTail support they were not supporting ShoutCast.

I'm hoping that they have fixed those issues in this player as I have a ton of licenses I bought I can't use.

Ruth

Ethan Feldman

JW Player Support Agent  
0 rated :

@Ruth – Can you show me where this is working?

JW Player

User  
0 rated :

Shoutcast on html5 works perfect on me. (no jwplayer)

Ethan Feldman

JW Player Support Agent  
0 rated :

We don’t support ShoutCast.

This question has received the maximum number of answers.