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

How to play m3u file on jwplayer?


Hi,

Jwplayer is great. I can play any audio/video with it.
But I am having a little problem, here :

- I have an m3u file
- If we open the m3u file with text editor, it just contain and address and the port like this (http://175.103.58.72:8000)
- I can stream it from my VLC player or open the m3u file with windows media player
- I tried this configuration :

bc.. <script type='text/javascript' src='jwplayer.js'></script>
<div id='media'></div>
<script type='text/javascript'>
jwplayer('media').setup({
'flashplayer': 'player.swf',
'file': 'http://localhost/play.m3u',
'provider': 'http',
'controlbar': 'bottom',
'width': '470',
'height': '320'
});
</script>



When I press the play button, it's keep loading all the time and no sound coming up.

Any help would be greatly appreciated.

Thank you

2 Community Answers

JW Player

User  
-2 rated :

Anyway, here is the url : http://ironlady.me/radio/

I just update the code too, change the provider to sound but still not working.

bc.. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>My Radio</title>
</head>
<body>
<script type='text/javascript' src='jwplayer.js'></script>
<div id='media'></div>
<script type='text/javascript'>
jwplayer('media').setup({
'flashplayer': 'player.swf',
'file': 'http://ironlady.me/radio/play.m3u',
'provider': 'sound',
'controlbar': 'bottom',
'width': '470',
'height': '320'
});
</script>
</body>
</html>

Ethan Feldman

JW Player Support Agent  
0 rated :

We don’t support Shoutcast I’m afraid.

This question has received the maximum number of answers.