aframevr / aframe-site

:a: Official A-Frame site.
https://aframe.io/
MIT License
99 stars 141 forks source link

Add Origin-Trial `<meta>` tag to opt-in to WebVR API in Chrome for Android (Cardboard + Daydream) #452

Closed cvan closed 6 years ago

cvan commented 6 years ago

There's code in the aframe repo for injecting the <meta> tags so it's include in the <iframe>'d content.

This issue is for adding the <meta> tag for a valid Origin-Trial token, which in turn enables the WebVR API in Chrome, so navigator.getVRDisplays is properly exposed to the parent https://aframe.io/ site (not just https://aframe.io/aframe/examples/ pages).