Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Prevent Picture-in-Picture video from pausing when viewport scrolls?

  • 3 回覆
  • 0 有這個問題
  • 94 次檢視
  • 最近回覆由 dessertdish

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.

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.

所有回覆 (3)

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.

Oh, then thats my bad. there were many solutions to a problem that had similar effects.

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題