webXR/Immersive mode not Working

I wanted to us the built-in VR player indicated here to watch videos in immersive mode.

I have an apple vision pro (long story), and webXR immersion works in Safari with other sites but with Stash it doesnt seem to be working. I see the little goggles icon but when I click it i just lets me select the type of VR mode (180lr for example) and then it successfully lets me use click/drag to look around the scene but there is no way to activate the immersive mode. Clicking fullscreen simply gets rid of the details side bar

Apparently webXR requires SSL so i set up a certificate (I have a *.lan.MYDOMAIN) cert using caddy+cloudflare so all my internal domains have SSL, but even when connecting with SSL it doesnt do any immersive mode.

Am i missing something?

I tried to do the same on my android phone but it’s also not entering immersive mode. Is immersive mode just not available?

our VR is done through GitHub - videojs/videojs-vr: A plugin to add 360 and VR video support to video.js., maybe it doesnt support immersive mode?

It seems that videojs-vr does not support immersive VR, it only supports projection of the VR format videos onto a 2D surface that you can pan around with click+drag.

When I go to the website for webXR on my Apple Vision Pro (Safari) and Android (Brave Browser) devices and click “Enter VR” on the demo on that page a popup comes on both devices asking to enter immersive mode, and when i click to allow it enters VR uses the devices gyro to direct the camera.

After finding out the difference between videojs-vr and webXR i googled around to see if someoen combined them and sure enough i found this: GitHub - thomasdeppisch/videojs-xr: Plugin for using WebXR with videojs, based on videojs-vr

When i go to the demo from that github and click the little goggle icon on my Apple Vision Pro it does launch the immersive mode!

So it seems like to get the vr video player to actually function with immersive video Stash needs to integrate the videojs-xr. It seems really easy to integrate so i’ll make a feature request :slight_smile:

1 Like

Created this feature request