cedricpinson / osgjs

Javascript Implementation of OpenSceneGraph [DISCONTINUED] Website archived https://cedricpinson.github.io/osgjs-website/
MIT License
786 stars 202 forks source link

Catches promise Error on pollheadsets #965

Closed Kuranes closed 6 years ago

Kuranes commented 6 years ago

iframe on different domains needs a allow="vr" attribute set, otherwise it spawns an error.

Also good practice to catch fails on a promise for any reason.