
html5 autostart vs autoplay
Hello,
we use jw 5.6 with flash and html5 as fallback. Unfortunately all players are starting simultanous, if you Browse at a page with a HTML5-Browser which is able to play h.264.
http://www.rbb-online.de/theodor/index.html
this is the javascript (+ a new autoplay=false entre)
<script type="text/javascript">
jwplayer("pp_530638746").setup({
'modes': [
{type: 'flash',
src: '/author/cqbase/jwplayer/5_6/previewplayer.swf',
config: {
'file': '/rbb/thadeusz/thadeusz_20110910_kujat_m_16_9_512x288.mp4',
'provider': 'rtmp',
'streamer': 'rtmp://ondemand.rbb-online.de/ondemand'
}
},
{type: 'html5',
config: {
'file': 'http://http-stream.rbb-online.de/rbb/thadeusz/thadeusz_20110910_kujat_m_16_9_512x288.mp4',
'hd.file': 'http://http-stream.rbb-online.de/rbb/thadeusz/thadeusz_20110910_kujat_WEB_L_16_9_960x544.mp4',
'provider': 'http'
}
} ],
'image': '/author/etc/medialib/rbb/rbb/logos/tv/thadeusz.file.54032.240.135.jpg',
'skin': '/static/rbb/jwplayer/skins/classic/classicP.xml',
'width': '240',
'height': '154',
'bufferlength': '5',
'smoothing': 'true',
'controlbar': 'bottom',
'icons': 'true',
'idlehide': 'false',
'stretching': 'uniform',
'autostart': 'false',
'dock': 'false',
'autoplay': 'false'
});
jwplayer("pp_530638746").onFullscreen(function() {
openLightBox("530638746");
});
</script>
1.) Why the autoplay is the jw-html-default-mode? At this page
http://www.longtailvideo.com/support/jw-player/jw-player-for-html5/11891/html5-video-tag-reference
you write "Use sparsely, since this might get annoying."
2.) Why there is a difference between autostart & autoplay
and
3.) If there must be a difference (maybe because of html5-specifications) why the player reads the autostart-value in the html5-mode??
Thanks for your help
Sebastian (rbb-Online.de)