Reputation: 2874
I currently have JW Player setup so that it's first option is HTML5, the fallback is FLV then fallback to that is Download.
Only the HTML5 route seems to stream the videos, but I need it to stream the videos in the flash route too.
Any ideas what additional parameters I need to use?
The current setup is as follows:
jwplayer('the_video_container').setup({
'id': 'playerID',
'width': '654',
'height': '410',
'file': '/video/keyword_vid_1.mp4',
'autostart': 'true',
'controlbar': 'none',
'screencolor': 'FFFFFF',
'repeat': 'always',
'modes': [
{type: 'html5'},
{type: 'flash', src: '/js/jwplayer/player.swf'},
{type: 'download'}
]
});
Upvotes: 2
Views: 3768
Reputation: 1959
Try setting up your JW Player as follows:
jwplayer('the_video_container').setup({
'id': 'playerID',
'flashplayer':'/js/jwplayer/player.swf',
'width': '654',
'height': '410',
'file': '/video/keyword_vid_1.mp4',
'autostart': 'true',
'controlbar': 'none',
'screencolor': 'FFFFFF',
'repeat': 'always',
'modes': [
{type: 'html5'},
{type: 'flash'},
{type: 'download'}
]
});
And remember, you may want to include additional src
attributes in the html5
block for those browser that don't support mp4 in html5 playback.
Upvotes: 1