Web platform features explorer

WebVR

This feature is discouraged — Development of the WebVR API halted in favor of WebXR.

Consider using WebXR instead.

For more information, see: https://immersive-web.github.io/webvr/spec/1.1/#abstract

The navigator.getVRDisplays() API represents virtual reality (VR) devices, including sensors and head-mounted displays.

Status

Discouraged

MDN documentation

Browser support (view on caniuse.com)

  • Chrome
  • Chrome Android
  • Edge
  • Firefox
  • Firefox for Android
  • Safari
  • Safari on iOS