You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Clicking a button enter VR Mode, element.requestFullscreen() is executed by calling the function requestPresent([{ source: _this.m_renderer.domElement }]);
requestFullscreen throws the error Failed to execute 'requestFullscreen' on 'Element': API can only be initiated by a user gesture.
So entering full screen is failing followed by below errors:
Uncaught (in promise) TypeError: fullscreen error
at requestFullscreen
at new Promise ()
at CardboardVRDisplay.VRDisplay.requestPresent
at HTMLButtonElement.button.onclick
The text was updated successfully, but these errors were encountered:
amanonymous
changed the title
On Chrome 74, Enter VR Mode on mobile stops working.
On Chrome 74, Enter VR Mode on mobile stops working with http://
May 2, 2019
amanonymous
changed the title
On Chrome 74, Enter VR Mode on mobile stops working with http://
On Chrome 74, Enter VR Mode on mobile stops working with http:// protocol.
May 2, 2019
On Clicking a button enter VR Mode, element.requestFullscreen() is executed by calling the function requestPresent([{ source: _this.m_renderer.domElement }]);
requestFullscreen throws the error Failed to execute 'requestFullscreen' on 'Element': API can only be initiated by a user gesture.
So entering full screen is failing followed by below errors:
Uncaught (in promise) TypeError: fullscreen error
at requestFullscreen
at new Promise ()
at CardboardVRDisplay.VRDisplay.requestPresent
at HTMLButtonElement.button.onclick
Same error appears on mobile while visiting https://immersive-web.github.io/webvr-polyfill/examples/ and on clicking the VR button.
The text was updated successfully, but these errors were encountered: