Questions tagged [fullscreenchange]

18 questions
3
votes
2 answers

HTML5 - Prevent Fullscreen Mode

I'm using the Fullscreen API with an embedded YouTube video to detect whether or not the browser window has entered fullscreen mode. I have that working great. What I'd like to do is prevent from occurring the default behavior of entering fullscreen…
Alexander
  • 3,959
  • 2
  • 31
  • 58
3
votes
2 answers

firefox browser settings to avoid appearance of menu bar or task bar in full screen when pointing mouse on the top of the screen

I am using firefox 3.0 in rhel6.2.Wwhen I press F11, the fullscreen mode appears, but if the mouse pointer goes to the top of the screen at fulscreen mode then the task bar appears. I want to avoid the appearance of this bar. I have searched the net…
uddipana
  • 188
  • 2
  • 19
3
votes
2 answers

how to detect a screen change via adb in android

I'm looking for a way to detect if a screen changed from previous screen.. I mean: I have "Screen A" with full of buttons - I'm trying to press all of them, but only 1 of them will take me to "Screen B".. I'm looking for a way that I could loop…
2
votes
0 answers

How to run function before fullscreenchange in Javascript

I have a function in Javascript that need to be called BEFORE event fullscreenchange occurs. As stated on MDN, The fullscreenchange event is fired immediately AFTER the browser switches into or out of fullscreen mode. Is there's any thing like…
vanminhquangtri
  • 145
  • 1
  • 9
2
votes
0 answers

Switching fullscreen triggers a "visibilitychange" event on safari

On Safari (15.3) on Macos (11.6.4), and possibly on ios too, enabling and disabling fullscreen triggers a "visibilitychange" event. It doesn't on Chrome and Firefox. Is there a simple way to fix that (to not trigger the visibilitychange on…
2
votes
1 answer

Allow alerts to happen when in full screen html?

I have a website, and theres an option in it to make it full screen. Here's the code to make it full screen: