MozillaReality / immersive-custom-elements

Immersive Custom Elements
https://mixedreality.mozilla.org/immersive-custom-elements/examples/index.html
Mozilla Public License 2.0
134 stars 8 forks source link

Hide VR/Fullscreen button if the browser does not support either one #76

Closed takahirox closed 4 years ago

takahirox commented 4 years ago

From https://github.com/MozillaReality/immersive-custom-elements/issues/67#issuecomment-525002558

This PR hides VR/fullscreen button in case if no VR device and no fullscreen API. Currently iPhone doesn't support Fullscreen API. It may be confusing to such platforms if we display "fullscreen" button.