Jump to content

Firefox fullscreen API error


alex_h
 Share

Recommended Posts

I'm using my own plain js framework and suddenly started getting an error when I try to get firefox to go fullscreen on Android with the FullScreen API. I'm sure it was working previously, and the code does work in chrome on mobile and on all desktop browsers (including firefox). In firefox on android it doesn't go fullscreen but instead fires the onmozfullscreenerror event. Unfortunately I can't see any way to get any useful information out of this event, like for example why it fired in the first place. I am only requesting full screen on the document.documentElement when there is a touch event on the screen, so it should all be legit. I've even stripped it right back to a minimal test case with a single image on screen and just my fullscreen handler class in operation but the outcome is the same.

If anyone can suggest how to identify the source of the problem please do let me know!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...