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

JW Player for HTML5 beta and Shoutcast


Hello

I don't know how to listen my shoutcast radio with new Player because the syntax has changed.
Before I used :
player.sendEvent('LOAD', lst);
var lst = new Array();
lst[0] = {
description:"MyDescription",
file:"http://<MyIP>:<MyPort>/;listen.pls",
type:"sound"
}

Same problem with my WowzaMediaServer I use :
var so = new SWFObject("player-viral.swf","player","100%","100%","7","#000000");
so.addParam("allowfullscreen","true");
so.addVariable("file","MyMovie.mp4'");
so.addVariable("streamer","rtmp://MyIP/streamingvideo")
so.write('placeholder');

I don't see anything about this on new player

Thanks

24 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Hello beginner,

The HTML5 Player is meant to play formats supported by the <video> tag (mp4, ogg, webM, etc). ShoutCast will not work with HTML5, it is not supported.

Best,
-Ethan

JW Player

User  
0 rated :

Ethan, your statement is false. i myself am streaming shoutcast via html5

Ethan Feldman

JW Player Support Agent  
0 rated :

Show me a link, then, thanks.

JW Player

User  
0 rated :

It works yes, I tried the new one a week ago, but I was looking with the new one is to see if it works with mobiles devices. I mean people can listen the music once they land on the website, but I get an error, anyway it doesn't work either with the old version for mobiles devices at least for me dont't

Ethan Feldman

JW Player Support Agent  
0 rated :

Link?

JW Player

User  
0 rated :

I just scripted a site with it, Ethan.
You silly beginners, lol. Try this:
bc.. <audio controls src="http://yourdomain.com:8092/;" id="controls" /></audio>


Do note that I was only scripting the site for my iPhone's Safari browser, so other browsers might not show it... I didn't take the time to test it on anything but my iPhone.

Hope it helps... Toodles! xD

Ethan Feldman

JW Player Support Agent  
0 rated :

Thanks…does it work, can you provide an example?

JW Player

User  
0 rated :

So, there is no way that I can use a JW Player to play a live server stream from say this address?

http://188.72.209.46

Ethan Feldman

JW Player Support Agent  
0 rated :

It is possible to do, but it is not officially supported, as Flash has issues itself with ShoutCast streams.

JW Player

User  
0 rated :

Here's a link using the h5 audio tag for a listen.pls:
http://digitalfrontiersmedia.com/stephen/nowplaying.html

It works on my machine in Mac Safari 5.0.3. YMMV.

The src is a Shoutcast MP3 stream.
This page is not using JW Player; simply showing that <audio> does work with Shoutcast. However, it may not necessarily work in your browser since not all codecs are supported across all browsers currently.

Ethan Feldman

JW Player Support Agent  
0 rated :

Works for me!

JW Player

User  
0 rated :

tested on chrome, osx v10.5.8 - was not able to stream

JW Player

User  
0 rated :

Use a Icecast2 server to act as a slave for your shoutcast stream and relay the shoutcast stream as ogg and mp3 format. Then use html5 audio tag to source from both the relayed ogg and mp3 streams. Firefox and Opera will play the ogg streams and Chrome, Safari and IE9 will play from the MP3 streams. In case someone has older browsers like IE7 etc which don't support audio tag, then use JPlayer using JQuery which loads flash player as a fall back option if none of the other formats work.

Ethan Feldman

JW Player Support Agent  
0 rated :

Thanks for sharing.

JW Player

User  
0 rated :

Sir Ethan heres a working link > http://forbiddencurse.webs.com/Radio/mornytadiktus.html

Ethan Feldman

JW Player Support Agent  
0 rated :

Cool, thanks for sharing!

JW Player

User  
0 rated :

does it work in iphone, ipad using safari, and latest android phones using opera?

Ethan Feldman

JW Player Support Agent  
0 rated :

Not sure, as we don’t officially support ShoutCast…

JW Player

User  
0 rated :

thats is a 5.7, in 5.8 dont work

Ethan Feldman

JW Player Support Agent  
0 rated :

Clarify?

JW Player

User  
0 rated :

Hello Cyrille Anne
I see your linka nd thats what im looking for, Please can you posted the code how you make it work!! I will appreciated your help.

Thanks.

Ethan Feldman

JW Player Support Agent  
0 rated :

The code is right there:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="single1" name="single1" height="100" width="330">
<param name="movie" value="http://player.longtailvideo.com/player5.7.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="wmode" value="transparent" />
<param name="flashvars" value="image=http://2.bp.blogspot.com/-h2fm9niPx4c/Tnbp7lvfq7I/AAAAAAAAAg8/YfoQ392d-20/s1600/Mornytbanner.jpg&plugins=subeq-1h&subeq.soundonly=false&subeq.pluginmode=FLASH&controlbar.position=bottom&dock.position=true&linktarget=http://adiktus-tambayan-live-video-chat.blogspot.com/&file= http://s3.voscast.com:7116/;stream.mp3&skin=http://www.longtailvideo.com/files/skins/newtubedark/5/newtubedark.zip&frontcolor=ffffff&lightcolor=cc9900&screencolor=ffffff&stretching=exactfit&autostart=true&duration=99999" />
<embed id="single2" name="single2" src="http://player.longtailvideo.com/player5.7.swf" bgcolor="#000000" allowscriptaccess="always" allowfullscreen="true" flashvars="image=http://2.bp.blogspot.com/-h2fm9niPx4c/Tnbp7lvfq7I/AAAAAAAAAg8/YfoQ392d-20/s1600/Mornytbanner.jpg&plugins=subeq-1h&subeq.soundonly=false&subeq.pluginmode=FLASH&controlbar.position=bottom&dock.position=true&linktarget=http://adiktus-tambayan-live-video-chat.blogspot.com/&file= http://s3.voscast.com:7116/;stream.mp3&skin=http://www.longtailvideo.com/files/skins/newtubedark/5/newtubedark.zip&frontcolor=ffffff&lightcolor=cc9900&screencolor=ffffff&stretching=exactfit&autostart=autostart&duration=99999" height="100" width="330">
</embed></object><!-- --><script type="text/javascript" src="http://static.websimages.com/static/global/js/webs/usersites/escort.js"></script><script type="text/javascript">if(typeof(urchinTracker)=='function'){_uacct="UA-230305-2";_udn="none";_uff=false;urchinTracker();}</script>

JW Player

User  
0 rated :

try this


<embed height="20" width="210" flashvars="type=mp3&autostart=true&file=http://ur.nyit-nyit.net:8110/;stream.nsv" allowfullscreen="false" quality="high" wmode="transparent" name="streambaby" id="streambaby" style="" src="http://www.nyit-nyit.net/player.swf" type="application/x-shockwave-flash"/>

Ethan Feldman

JW Player Support Agent  
0 rated :

Yes, our player seems to work with NSV files, at least in Flash mode…

This question has received the maximum number of answers.