Skip to content Skip to sidebar Skip to footer

How To Discover Why Canvas.requestfullscreen() Failed?

Task at hand is to add support for fullscreen mode to an WebGL application written in Dart. canvas.requestFullscreen() works for simple test cases, but fails on the full app. Pleas

Solution 1:

For security reasons requestFullscreen can only be called in an event handler of a keyboard or click event.

see also Javascript request fullscreen is unreliable

Post a Comment for "How To Discover Why Canvas.requestfullscreen() Failed?"