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

HTML5 Streaming Issue



We use the licensed JW Player 5.9.2156 and Adobe Media Server 5 to stream F4V videos.

What's a good code example to follow? I'd like to modify our code to show videos using HTML 5 with Flash fall back. I noticed the RTMP streaming articles use code with a playlist of sources (instead of modes) and MP4 files.

Here is what we currently use. The HTML5 fall back does not look like it is working.

jwplayer('mediaplayer-01').setup({
'author': 'Border Studies Archive',
'image': 'http://portal.utpa.edu/portal/page/portal/utpa_main/lib_home/archive_home/archive_images/bsa.jpg',
'backcolor': '333333',
'frontcolor': 'ffffff',
'lightcolor': 'cc9900',
'bufferlength': '4',
'streamer': 'rtmp://media.utpa.edu/vod',
'file': 'daa/library/borderstudiesarchives/CayetanoBarrera.f4v',
'controlbar': 'over',
'stretching': 'exactfit',
'width': '640',
'height': '480',
'modes': [
{type: 'flash', src: 'http://www.utpa.edu/flvplayer/jw/5.9/player.swf'},
{
type: 'html5',
config: {
'file': 'http://media.utpa.edu/hls-vod/daa/library/borderstudiesarchives/CayetanoBarrera.f4v.m3u8',
'provider': 'video',
'poster': 'http://portal.utpa.edu/portal/page/portal/utpa_main/lib_home/archive_home/archive_images/bsa.jpg'
}
}
]
});

1 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

We have sunset support for our JWP5 platform but the following legacy article may be of some use:

JavaScript 5 API: https://web.archive.org/web/20130329035515/http://www.longtailvideo.com/support/jw5/31164/javascript-api-reference

JWP 6 Feature Set: http://support.jwplayer.com/customer/portal/articles/1403653-browser-device-reference#fallback

JWP6 Fallback Example: http://qa.jwplayer.com/support-demos/fall2source.html

I would also suggest trying our Free player to see if the above suggestions work for you: http://www.jwplayer.com/pricing/

Kindly,
Randy

This question has received the maximum number of answers.