
Cloudfront RTMP and bufferlength
I am new to JW Player. I have recently purchased the JW Player commercial license and have setup an Amazon Cloudfront account.
I have the player embedded and playing. No problems here.
I cannot get the bufferlength setting to work. I am not sure if I am missing something or just approaching this whole RTMP thing from the wrong angle.
Here is the page with my video embedded:
http://www.earthwindwater.com.au/videos/action-videos/2011-southern-80-video-goggles
Here is the js file I have embedded in the post. I have done it this way to keep the post's html short, as it is used for a truncated RSS feed.
bc.. jwplayer('mediaplayer').setup({
'modes': [{
'type': 'flash',
'src': '/js/jwplayer/player.swf'
},{
'type': 'html5',
'config': {
'file': 'http://video.earthwindwater.com.au/video/ElmStreetSouthern80.mp4',
'provider': 'video'
}
}],
'id': 'playerID',
'width': '520',
'height': '292',
'title': 'Liquid Image Video Goggles | Southern 80 Water Ski Racing',
'description': 'Water Ski Racing in the 2012 Southern 80 Presidents Dash behind Elm Street at speeds in excess of 100Mph. An awesome video from the Liquid Image Video Goggles',
'duration': '8:54',
'file': 'video/ElmStreetSouthern80.mp4',
'bufferlength': '60',
'image': '/images/stories/video/ElmStreetSouthern80.jpg',
'provider': 'rtmp',
'streamer': 'rtmp://cdn.earthwindwater.com.au/cfx/st',
'plugins': {
'hd-2': {
'file': 'video/ElmStreetSouthern80HD.mp4',
'fullscreen': 'true'
},
'sharing-3': {
'code': '%3Ciframe%20frameborder%3D%220%22%20scrolling%3D%22no%22%20src%3D%22http%3A%2F%2Fwww.earthwindwater.com.au%2Fvideo%2FElmStreetSouthern80.html%22%20width%3D%22518%22%20height%3D%22292%22%3E%3C%2Fiframe%3E',
'link': 'http://www.earthwindwater.com.au/videos/action-videos/2011-southern-80-video-goggles'
}
}
});
Any tips would be welcomed.
Thanks