![](https://secure.gravatar.com/avatar/06aacb2f1dbed200347db0a003fc6179?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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