This example demonstrates configuring the player for Dailymotion 360 videos and control. Enabling the vr
config will allow mouse and touch controls to the Dailymotion player through Flowplayer.
This is needed for VR 360 controls.
<div class="flex w-full h-auto my-auto">
<div id="vr" class=""></div>
</div>
<script type="text/javascript">
var player = jwplayer("vr").setup({
"aspectratio": "16:9",
"dailymotion": {
"vr": true
},
"playbackRateControls": true,
"sources": [
{
"file": "http://www.dailymotion.com/video/x47aqrc_rt",
"type": "video/dailymotion"
}
],
"width": "100%"
});
</script>