Редагувати

Поділитися через


Using WebVR with Windows Mixed Reality

Important

Most modern web browsers have deprecated support of WebVR in favor of WebXR, the new standard for creating immersive web experiences for VR headsets. Please install the new Microsoft Edge for WebXR support.

What is WebVR

WebVR is an open specification that lets you experience VR right from a browser. If a website implements WebVR support and provides 3D content, it can display immersive content in the headset, with user consent.

What is the difference between WebVR and browsing the web in VR

WebVR is a technology that allows a website author to add VR functionality to a page. The WebVR API is used by a page to display 3D content (such as 360-degree video, or a 3D model, or a 3D game) to the entirety of your headset. Example: Viewing a 360 Video on cnn.com/vr. If a page supports WebVR, it will add a button or other UI element that you can select to enter VR.

Browsing the web in VR means using the Edge browser while you're wearing your headset, as a 2D app slate within the Cliffhouse.

Do all websites support WebVR

No. Website authors must opt in to use WebVR and they may create optimized sites for specific browsers, headsets, and controllers. Some WebVR content is optimized for mobile VR devices only. Also, keep in mind that web sites need to explicitly create and provide WebVR content. The number of sites that have some WebVR compatible content is growing every day.

Can I use my Vive/Oculus etc to view WebVR content in Microsoft Edge

No. A Windows Mixed Reality headset is required to use WebVR in Edge. However, you can access WebVR content in another browser; see the complete list of compatible devices and browsers at: WebVR.rocks.

What is a good page to test if WebVR is working

See webvr.info samples.

How do I set up WebVR

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

  1. Ensure your headset is connected.
  2. Launch Microsoft Edge, either on the desktop or within Mixed Reality.
  3. Navigate to a WebVR enabled page.
  4. Select the Enter VR button within the page (the location and visual representation of this button may vary per website). It may look similar to:
    VR Goggles image
  5. The first time you try to enter VR on a specific domain, the browser will ask for consent to use immersive view, select yes: Consent UI that is displayed on the first attempt to Enter VR on a particular domain
  6. Your headset should begin displaying the WebVR content.

See also