googlearchive / vrview

Library for embedding immersive media into traditional websites.
http://developers.google.com/cardboard/vrview
Apache License 2.0
1.71k stars 1.09k forks source link

Add 'allow="vr"' Feature Policy attribute to iframe to permit WebVR #278

Closed ademarre-ca closed 6 years ago

ademarre-ca commented 6 years ago

Add 'allow="vr"' Feature Policy attribute to permit WebVR in cross-origin iframes. As discussed in https://github.com/googlevr/vrview/issues/274#issuecomment-345392899 .

https://github.com/w3c/webvr/issues/86 https://developers.google.com/web/updates/2017/09/webvr-origin-trial-chrome-62 https://bugs.chromium.org/p/chromium/issues/detail?id=666767