360 / 180 VR Stereo Video Playlists

Stereo VR 360 / 180 videos in playlists

This example demonstrates of switching between 360 and 180 videos within a playlist in both 2D rendering and WebXR. While in WebXR the controlbar displays a next and previous button to control playlists. Set the projection to switch to on the playlist item.

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 w-full h-auto my-auto">
          <div id="playlist-180" class=""></div>
  </div>
  <script type="text/javascript">
  	var player = jwplayer("playlist-180").setup({
    "aspectratio": "16:9",
    "backgroundLoading": false,
    "playbackRateControls": true,
    "playlist": [
        {
            "projection": "360_TB",
            "sources": [
                {
                    "file": "https://oculus-mp4.s3.amazonaws.com/immersive+video+8K+for+Oculus+Browser/everestvr_4.3k_30s_360_h264_crf23_binaural_CREDIT_JON_GRIFFITH_injected.mp4",
                    "type": "video/mp4"
                }
            ]
        },
        {
            "projection": "180_TB",
            "sources": [
                {
                    "file": "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"
                }
            ]
        },
        {
            "projection": "360_TB",
            "sources": [
                {
                    "file": "https://oculus-mp4.s3.amazonaws.com/immersive+video+8K+for+Oculus+Browser/everestvr_4.3k_30s_360_h264_crf23_binaural_CREDIT_JON_GRIFFITH_injected.mp4",
                    "type": "video/mp4"
                }
            ]
        }
    ],
    "plugins": {
        "../../js/vrvideo-8.20.0.js": {
            "projection": "360_TB"
        }
    },
    "preload": "none",
    "width": "100%"
});
  </script>