hello,
I try to get the wowza stream to JW Player 5.9 with HTML5 mode.
Unfortunately, it does not work. It falls back to download.
Is ‘provider’: ‘video’ correct? Is the playlist URL correct?
/live/lq/playlist.m3u8 is Video H264 MPEG-4 AVC and Audio: MPEG AAC (mp4a) (says VLC)
(so, the URL basically works)
<script type='text/javascript' src='/jwplayer/jwplayer.js'></script>
<div id='mediaplayer'></div>
<script type="text/javascript">
jwplayer('mediaplayer').setup({
'id': 'playerID',
'width': '480',
'height': '270',
'provider': 'rtmp',
'streamer': 'rtmp://xx:1935/live/lq',
'file': 'sintel.mp4',
'image': 'http://example.com/thumbs/sintel.jpg',
'modes': [
{type: 'flash', src: '/jwplayer/player.swf'},
{
type: 'html5',
config: {
'file': 'http://xx:1935/live/lq/playlist.m3u8',
'provider': 'video'
}
},
{
type: 'download',
config: {
'file': '/videos/sintel.mp4',
'provider': 'video'
}
}
]
});
</script>
the code is from http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/18530/embedding-an-rtmp-stream-with-an-html5-fallback
thanks for help!