Google supports WebVR API for vr compatible elements on websites
Google has released a test version of Chrome with support for the WebVR API. With that api, developers can create elements on websites that can read the position of VR headsets, among other things. This should enable more convincing forms of virtual reality.
Among other things, the WebVR API provides access to the position and orientation of the VR headset, while the accompanying Gamepad API provides access to the input of virtual reality controllers. The api is available for Google’s platform Daydream and Gear VR from Samsung and Oculus. Users of those systems can thus play elements created with WebVR API. Support for Cardboard should be added at a later stage, says the search giant.
By offering the APIs it is possible to create applications for virtual reality that work equally in various browsers for VR systems. Google does warn that this is an early version of the APIs and that a lot could change before the final version comes out
Currently, WebVR is available in the Chrome 56 beta for Android through Origin Trials. Later, the api should also become available within desktop browsers.