
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'
}
}
]
});