This works fine on chrome/firefox. But on Mac safari, it says fullscreen failed . I am starting to wonder why this happens, because in the docs, it says that this function uses plain Fullscreen API. So By looking at FullScreen API, it’s possible to go into fullscreen via prefix such as webkitRequestFullscreen on safari.
Does this mean that phaser’s startFullScreen doesn’t use prefixes at all and just uses FullScreen API without prefixes?
If that’s so, what do I do to make it work on mac/ios safari ?
So this is what gets called on Mac Safari. But the question is why? If I use elem. webkitRequestFullScreen() , full screen works just fine on Mac Safari …
I am wondering what Phaser’s startFullScreen() does and if it’s using vendor prefixes for different browsers.