This example demonstrates confguring a rendered stereo 180 top / bottom. Either as monoscopic or in VR.
Left and right stereo can be configured with a projection config with 180_LR
For 180 videos a half sphere is created. The surrounding background can display a sky dome using the skyDomeURL
config.
NOTE: For Quest headsets with native layers, an AR WebXR immersive mode is used. Therefore a skydome is required to hide the AR camera until VR mode can be used.
<div class="flex flex-col w-full">
<div id="stereo-180" class=""></div>
</div>
<script type="text/javascript">
var player = flowplayer("#stereo-180", {
"ratio": "16:9",
"src": [
{
"src": "https://oculus-mp4.s3.amazonaws.com/immersive+video+8K+for+Oculus+Browser/everestvr_6.2k_30s_180_TB_h264_crf27_CREDIT_JON_GRIFFITH-injected.mp4",
"type": "video/mp4"
}
],
"token": "eyJraWQiOiIyeHRpc0Q5NHZzTjIiLCJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjIjoie1wiYWNsXCI6NixcImlkXCI6XCIyeHRpc0Q5NHZzTjJcIixcImRvbWFpblwiOltcImVsZWN0cm90ZXF1ZS5vcmdcIl19IiwiaXNzIjoiRmxvd3BsYXllciJ9.WLUkZHpDNoaXWDaFO2V5UfXm7SnDvE1pFAM0e7ppnFovOSyCCZM-b8gQNBSElB5yirTP__x76Qyo8pMWh6lVrw",
"vrvideo": {
"projection": "180_TB",
"skyDomeURL": "../../images/front.jpg"
}
});
</script>