Prevent Picture-in-Picture video from pausing when viewport scrolls?
When a video is popped out, in PiP mode, and the "owning" page is scrolled such that the video "origin" scrolls off the viewport, the PiP video pauses. If the video is started again, and the page is scrolled more, it will re-pause.
This seems to be a Firefox behaviour and not a site-specific one.
Is there a setting to keep the video to continue playing?
This would be helpful on Twitter/X, for example, when scrolling the timeline with a PiP playing from a tweet.
Wšě wotmołwy (2)
Hello, Here are some potential fixes to this issue :
- Disable Hardware Acceleration:
Go to Settings -> General -> Performance, uncheck "Use recommended performance settings", and uncheck "Use hardware acceleration when available". Restart Firefox.
- Fix Autoplay Settings:
Type <about:config> in the address bar and search for media.autoplay.default. Set it to 0 (allow all).
- Check Extensions:
Extensions like AdGuard or uBlock Origin can interfere. Try disabling and testing if it works.
- Use Native PiP:
Ensure you are using the Firefox blue/white PiP icon, not a website's built-in mini-player, which may pause when scrolled out of view.
- Update/Restart:
Ensure Firefox is updated to the latest version, as this is a known bug that is frequently addressed in updates.
Thanks for the reply. None of these fixed it, and Firefox is 147.0.2 (latest).
I found it in Bugzilla, https://bugzilla.mozilla.org/show_bug.cgi?id=1547349
Seems it's a site-specific problem. Hard to work around the element being removed from the DOM.