Customize the black prompt "*** is fullscreen" when using fullscreen API to trigger full screen mode?
The prompt on top of the screen is so big and not very attractive. Is there any way/API to change its style?
Another problem is that if the full screen mode is turned on in a machine with two monitors, you can switch focus on different programs in different monitor. But every time you focus back on the full screen mode browser, the black prompt appears again, which is annoying.
Wybrane rozwiązanie
Hi fordbzd,
This might be a great question for https://www.stackoverflow.com or https://www.mdn.com
These are third party, but they are nice places to start:
- MDN https://developer.mozilla.org/en-US/d.../Using_full_screen_mode
- http://www.sitepoint.com/html5-full-screen-api/
It depends on the video player or api being used as well to hunt down the call for the full screen notification:
- https://developers.google.com/youtube/js_api_reference
- https://developers.google.com/youtube/flash_api_reference
Wszystkie odpowiedzi (4)
Hi fordbzd,
There was another question about this that had some pretty useful responses. Ideato's answer: https://support.mozilla.org/en-US/que.../978852#answer-508049
Thanks rmcguigan. Ideato's answer solves the problem.
Actually I am developing something that need to be shown in the full screen mode. So I need to control it programmatically, like using some js. With Ideato's answer it can only be controlled by users. Do you have any idea to control it using some js?
Wybrane rozwiązanie
Hi fordbzd,
This might be a great question for https://www.stackoverflow.com or https://www.mdn.com
These are third party, but they are nice places to start:
- MDN https://developer.mozilla.org/en-US/d.../Using_full_screen_mode
- http://www.sitepoint.com/html5-full-screen-api/
It depends on the video player or api being used as well to hunt down the call for the full screen notification:
Zmodyfikowany przez guigs w dniu
It looks like it is in the browser as well:
Bug 684625 - Display a warning when DOM full-screen mode entered or restricted key pressed