WebVR

Not the thing you should be using any more!

WebVR is Deprecated!

WebVR has been replaced by the WebXR Device API, which has wider support, more features, better performance, and supports both VR and AR. This page is preserved as a historical reference, but the information on it is no longer relevant and you almost certainly want to be looking at immersiveweb.dev instead!

Specification

The Spec Editor’s Draft is hosted on GitHub.

How can I try it?

The WebVR API is currently available in Firefox for Windows; Firefox Reality for Oculus Go, Daydream, and VIVEPORT; Chrome 56+ for Android (Origin Trial); Chrome Canary for Windows; Microsoft Edge for Windows; Samsung Internet for Gear VR; Supermedium for Windows; and Firefox Nightly builds on macOS. You can get the latest WebVR-enabled browsers here:

Or, if you want to add WebVR to your mobile site today, you can use the WebVR Polyfill to provide support for Cardboard mobile devices (such as for iOS and Android).

(Experimental WebVR support in Chrome Canary for Windows is also available but not recommended for use at this time due to incompatibilites with recent graphics drivers. We suggest using Firefox or Microsoft Edge for WebVR on Windows in the meantime.)

You can test your browser’s support for the WebVR API with these samples:

How can I contribute?

The best place to contribute is the WebVR mailing list. Developers of the Chrome, Firefox, and Samsung Internet Browser builds are on that list, as well as other community members who are enthusiastic about VR on the Web.

How can I get the code?

The code that powers WebVR is available online, if you want to take a peek under the hood:

Reporting issues

For the time being, use the following links to view and report issues with WebVR implementations:

WebVR Emulator

Jaume Sánchez Elias (@thespite) has created a Chrome extension that allows developers to emulate a VR headset for testing the API without needing any VR hardware. Check it out!

Sites that use WebVR

Misc. Links