Search code examples
aframewebvr

aframe disable device sensors pop up


I recenty made a website using aframe and glitch , when the website is on glitch everything works fine , but once I uploaded into my host everytime appears a pop up asking for device sensors permision "access this site over HTTPS to enter VR mode and grant access to the device sensors."

Do you know how can I stop this pop up to appear ?

Thanks


Solution

  • Serve your site over HTTPS. DeviceMotion and WebXR APIs are not available over HTTP