This example demonstrates confguring a rendered stereo top / bottom or side to side video. Either as monoscopic or in VR.
Side to side is the default configuration which can be changed to top and bottom with sidetoside: false
The clip config is required to be configured as a stereo video with projection set to 360_TB or 360_LR
<div class="flex flex-col w-full">
<div id="stereo" class=""></div>
</div>
<script type="text/javascript">
var player = flowplayer("#stereo", {
"ratio": "16:9",
"src": [
{
"src": "//videos.electroteque.org/360/stereo_demo.webm",
"type": "video/webm"
},
{
"src": "//videos.electroteque.org/360/stereo_demo.mp4",
"type": "video/mp4"
}
],
"token": "eyJraWQiOiIyeHRpc0Q5NHZzTjIiLCJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjIjoie1wiYWNsXCI6NixcImlkXCI6XCIyeHRpc0Q5NHZzTjJcIixcImRvbWFpblwiOltcImVsZWN0cm90ZXF1ZS5vcmdcIl19IiwiaXNzIjoiRmxvd3BsYXllciJ9.WLUkZHpDNoaXWDaFO2V5UfXm7SnDvE1pFAM0e7ppnFovOSyCCZM-b8gQNBSElB5yirTP__x76Qyo8pMWh6lVrw",
"vrvideo": {
"projection": "360_TB"
}
});
</script>