Using WebVR in Edge with Windows Mixed Reality

WebVR 1.1 is available in Microsoft Edge beginning with the Windows 10 Creators Update as a developer unlock feature. Developers can now use this API to create immersive VR experiences on the web.

The WebVR API provides HMD pose data to the page which can be used to render a stereo WebGL scene back to the HMD. Details on API support is available on the Microsoft Edge Platform Status page. The WebVR API surface area is present at all times within Microsoft Edge. However, a call to getVRDisplays() will only return a headset if the operating system has been placed in Developer Mode, and either a headset is plugged in or the simulator has been turned on.

Getting set up

If you have a Windows Mixed Reality headset, follow the Immersive headset setup guide to get started.

If you do not have a physical device, you can instead use the Windows Mixed Reality simulator to develop and test your WebVR experience.

Since the API is currently a developer feature, you will need to:

  • Ensure you have a 64bit version of Windows 10
  • Enable Developer mode from Settings > Update & security > For developers
  • Become a Windows Insider
  • Connect your Headset or turn on Simulation.

Running WebVR Content

To experience WebVR content on a Windows Mixed Reality headset (using hardware or simulation) you must, with your headset connected:

  1. Launch Microsoft Edge either on the desktop, or within Mixed Realty.
  2. Navigate to a WebVR enabled page
  3. Click the Enter VR button within the page (the location and visual representation of this button may vary per website)
  4. The first time you try to enter VR on a specific domain, the browser will ask for consent to use immersive view. Click Yes.
  5. Your headset should begin presenting.

Press the Windows button or escape key to exit the immersive view.

See Also