The WebXR API is the successor to WebVR API (v1.1). There is a new Chrome Origin Trial, WebXR.
You can test WebXR on Chrome M67+ (with the WebXR and Gamepad Extensions flags enabled from chrome://flags
). Tentative timeline for Chrome: September 2018. Other browser vendors: TBD.
Relevant links:
- Chrome Beta M67: Announcing WebXR Origin Trial
- Intent to Experiment (Chromium mailing list)
- https://github.com/immersive-web/webxr-samples#readme
- https://github.com/immersive-web/webxr-polyfill#readme
- https://github.com/immersive-web/webxr-reference#readme (WIP documentation which will eventually live on MDN)
- immersive-web/webvr-polyfill#318
There are still a few bugs, but all the examples should be able to Enter/Exit XR now.
https://rawgit.com/mrdoob/three.js/dev/examples/?q=webvr
WebVR support has been removed #18129. WebXR is now available with latest Chrome (without flags or origin trials token) and supported via
WebXRManager
.