When you open a video in fullscreen mode, it typically extends across the entire monitor. While this behavior is intentional, it can be inconvenient in certain situations. For example, on an ultrawide monitor or when multitasking, having the video cover the whole screen may be disruptive.
Firefox provides an option to restrict fullscreen mode so that the video only fills the browser window instead of the entire monitor. This keeps the rest of the screen available for other applications or windows.
How to Enable the Restricted Fullscreen Mode in Firefox
To display videos in fullscreen mode only within the browser window, you need to modify a setting in about:config:
- Open Firefox and enter about:config in the address bar.
- Confirm the warning by clicking “Accept the Risk and Continue”.
- Search for full-screen-api.ignore-widgets in the search field.
- Change its value from false to true.
After this change, fullscreen mode for videos will only be activated within the browser window and no longer extend across the entire monitor.
TL;DR
- about:config
- full-screen-api.ignore-widgets => true