ebiten icon indicating copy to clipboard operation
ebiten copied to clipboard

ebiten: `SetFullscreen(true)` doesn't work on Safari

Open hajimehoshi opened this issue 2 years ago • 2 comments

webkitfullscreenerror event is fired. 'sandbox="fullscreen"' might be required at an iframe. This function on browsers must be called as a result of a gestural interaction or orientation change.

hajimehoshi avatar Apr 09 '22 07:04 hajimehoshi

Chrome and Firefox are fine.

hajimehoshi avatar Apr 09 '22 07:04 hajimehoshi

https://fullscreen.spec.whatwg.org/#api There is no restriction about user gestures, but why doesn't Safari work?

hajimehoshi avatar Apr 09 '22 08:04 hajimehoshi