WebVR is an experimental JavaScript API that provides support for virtual reality devices, such as the HTC Vive, Oculus Rift or Google Cardboard, in a web browser.
The WebVR API exposes a few new interfaces (such as VR Display, VR pose) that allow web applications to present content in virtual reality, by using WebGL with the necessary camera settings and device interactions (such as controllers or point of view).
WebVR was first conceived in spring 2014 by Vladimir Vukićević from Mozilla. The API's contributors include Brandon Jones, Boris Smus and others from the Mozilla team. On March 1, 2016, the Mozilla VR team and the Google Chrome team announced the version 1.0 release of the WebVR API proposal. The resulting API refactoring brought many improvements to WebVR.
WebVR still relies on a special browser version with the API enabled in a special settings screen that most users would not be able to find easily. WebVR is currently supported in Firefox Nightly Build and custom build Chrome. WebVR v1.0 is in Android Chrome behind a flag. Until WebVR is actually supported most browsers still support part of the API through a polyfill.
Brandon Jones announced in May 2016 during a San Francisco HTML5 presentation on WebVR that the API would be introduced in Chrome 54, slated for fall 2016. Microsoft announced in September 2016 that it had started development of WebVR in Edge.
Below are some notable companies or projects related to WebVR:
Although WebVR is unique as an API, there are native applications on most hardware allowing for networked experiences and access to web content. Several key tools, such as Unity and Blender, are also able to export for the web and provide users a way to use their content without installing a dedicated application.