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

SHOUTCAST STREAM ON JW PLAYER 6


just got this working!
bc.. <div id='my-video'></div>
<script type='text/javascript'>
jwplayer('my-video').setup({
file: 'http://xxx.xxx.xxx.xxx:xxxx/;*.nsv',
type: 'mp3',
width: '480',
height: '270'
});
</script>


32 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Cool , thanks for sharing that it works !

JW Player

User  
-1 rated :

Congrats, and the rest of the code?

JW Player

User  
0 rated :

Ok I got it working now, How can I call the ADDONS for Facebook and Twitter to show up on the player?

Ethan Feldman

JW Player Support Agent  
1 rated :

That is the rest of the code…

Since its JW6, those can be added as social sharing options…

http://www.longtailvideo.com/support/jw-player/28857/social-sharing-options

JW Player

User  
-1 rated :

Thanks Mariano for your example.

However I got this working with a slight variation of your code:

*Shoutcast MPEG*

bc.. <div id="shoutcast_mpeg"></div>

<script type='text/javascript'>
jwplayer("shoutcast_mpeg").setup({
width: 300,
height: 25,
file: 'http://ares.sxcore.net:9330/;*.mp3',
type: 'mp3'
});
</script>




*Icecast*

bc.. <div id="icecast"></div>

<script type='text/javascript'>
jwplayer("icecast").setup({
width: 300,
height: 25,
file: 'http://199.58.160.66:80/motionthree_free',
type: 'mp3'
});
</script>





*Ultravox*

bc.. <div id="ultravox"></div>

<script type='text/javascript'>
jwplayer("ultravox").setup({
width: 300,
height: 25,
file: 'http://scfire-dtc-aa02.stream.aol.com:80/stream/1012/;*.mp3'
});
</script>







Will use the above code @ my little radio directory: http://filtermusic.net

Hope the above helps somebody..

JW Player

User  
0 rated :

Hi, tried the Icecast code above in a slider and could not get it to work; also tried it in a php widget. JW player came installed in theme and is working, so not certain if I need to change anything anywhere. Appreciate any suggestions, site is http://buddha.fm - tried this below:

<div id="icecast"></div>
<script type='text/javascript'>
jwplayer("icecast").setup({
width: 600,
height: 400,
file: 'http://xx.xxx.xxx.xx:xxxx/country',
type: 'mp3'
});
</script>

Ethan Feldman

JW Player Support Agent  
0 rated :

@Filtermusic – Glad you got it.

@buddha tunes – Your link is just a default Apache page, please advise.

JW Player

User  
0 rated :

sorry, been doing a lot of trial and error. have a working stream right now at http://icecast.fm

i added this image below the icecast file - 'image':'https://s3.amazonaws.com/sangha/144x169/ycountry.png',

is it possible to keep the player playing in the image, rather than defaulting to quicktime screen on iphone and ipad?

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad you got it. It is not possible to do that, I’m afraid, though. The default QT logo will always show up in this case on these devices.

JW Player

User  
0 rated :

@Filtermusic - Have you managed to get jwplayer working with icecast FLV wrapping from Karl's icecast branch (which prevents flash from never releasing memory)?

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link to where you are trying this?

JW Player

User  
1 rated :

Hello

This is great

it is also possible for the stream to send the information

M.v.g.

Ethan Feldman

JW Player Support Agent  
0 rated :

Not sure?

JW Player

User  
0 rated :

I have a small question. I was able to get a live shoutcast stream to play perfectly using Mariano's code in the first post, however, when the stream begins to play there is an unrecognizable text string that displays on the player to the right, as if it's trying to identify the stream. Is there a way to disable the display of this text?

Ethan Feldman

JW Player Support Agent  
-1 rated :

Link?

JW Player

User  
1 rated :

Thanks Filtermusic and Mariano,

Does this work on FF for you guys? Filtermusic, like you site are you using jwplayer on the site?

Cheers

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have an example ?

JW Player

User  
0 rated :

Hello Ethan,

Yes here is an example: http://www.ijazzglobal.com/jwtest.html

You will see some odd text that displays to the right.

Thanks so much for your help.

Ethan Feldman

JW Player Support Agent  
0 rated :

I don’t see any text? It works fine.

JW Player

User  
0 rated :

I works but once the stream connects, you'll see the text: Infinity:NaN:Nan appear just to the left of the volume control icon. We have no idea what that text is or where it is being pulled from, or what should normally display there. It's a live mp3 stream, not a single mp3 file.

Ethan Feldman

JW Player Support Agent  
0 rated :

I don’t see that. FF19, Win7, Flash 11.

JW Player

User  
0 rated :

It seems to only be visible with Safari and Chrome.

Ethan Feldman

JW Player Support Agent  
0 rated :

Looks like it is a HTML5 issue. I would set the primary variable to flash.

JW Player

User  
0 rated :

can i use width 100% ? i try it but not work...

JW Player

User  
0 rated :

Thank you, Ethan. Where in the code I am using would the primary variable be?

bc.. <div id='my-video'></div>
<script type='text/javascript'>
jwplayer('my-video').setup({
file: 'http://184.154.145.114:8017/;*.nsv',
type: 'mp3',
width: '480',
height: '270'
});
</script>

Ethan Feldman

JW Player Support Agent  
0 rated :

@inzacky – That should be fine, where is this running ?

@Jim – under:

type: ‘mp3’,

Add:

primary: ‘flash’,

JW Player

User  
0 rated :

Thank you!

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

JW Player

User  
0 rated :

I have to report that this is working very well not issues at all, I download the free skins, but I don't know how to apply the skins on the player

Ethan Feldman

JW Player Support Agent  
1 rated :

Like this – http://www.longtailvideo.com/support/jw-player/28846/using-jw-player-skins

JW Player

User  
0 rated :

How do I display tracklist?

Ethan Feldman

JW Player Support Agent  
0 rated :

http://www.longtailvideo.com/support/jw-player/29249/playlist-sidebar-component

This question has received the maximum number of answers.