WebVR is Deprecated!

The WebVR API had been developed under WebVR Community Group, but was marked as deprecated and fully replaced by the WebXR Device API and its modules which have wider support, more features, better performance, and supports both VR and XR (collectively called as XR). The WebXR Device API and its modules are under development by the W3C Immersive Web Working Group (WG) initiated at Sep 2018, was initially shipped in browsers in 2019 and are now available on many XR devices. This document is preserved out of historial interest, but the APIs described will not be implemented in any major browser.

No further development will be held on WebVR specifications. If you have any new idea of incubation around XR, please check the proposals repository of the W3C Immersive Web Community Group (CG) for further expanding XR in the Web and file as issue on any new idea there.

webvr-polyfill

webvr-polyfill A JavaScript implementation of the WebVR spec. This project ensures your WebVR content works on any platform, whether or not the browser/device has native WebVR support, or when there are inconsistencies in implementation.

Documentation

Check out the README for up to date documentation for usage and development.

Demos

The example parses the query params in the URL to pass configuration into the WebVRPolyfill constructor. Some examples links below.