為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Pop up videos are killing my low spec PC. How do I stop them?

more options

Hi everyone,

I have this old laptop (768p) that just can't handle pop up videos, autoplay, picture in picture or whathever they call it when you are scrolling a page and a video suddenly jumps out to the corner. It is very annoying, intrusive and I don't know how to prevent it. When it happens, it takes a lot of space in my already small tab and CPU barely can keep scrolling. I hate this "feature".

Any ideas? All I have read so far are about disabling controls or autoplay, but I need it to completely disappear (or never been loaded at all).

Thank you!

Hi everyone, I have this old laptop (768p) that just can't handle pop up videos, autoplay, picture in picture or whathever they call it when you are scrolling a page and a video suddenly jumps out to the corner. It is very annoying, intrusive and I don't know how to prevent it. When it happens, it takes a lot of space in my already small tab and CPU barely can keep scrolling. I hate this "feature". Any ideas? All I have read so far are about disabling controls or autoplay, but I need it to completely disappear (or never been loaded at all). Thank you!

所有回覆 (7)

more options

You can look at these prefs on the the about:config page to see what settings work for you to block autoplay.

  • media.autoplay.blocking_policy = 2
  • media.autoplay.default = 5 [0:allow; 1:blockAudible; 2:Prompt; 5:blockAll]
  • media.block-autoplay-until-in-foreground

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


more options

Hi cor-el,

I changed media.autoplay.blocking_policy to 5; media.autoplay.default to 5; and media.block-autoplay-until-in-foreground to false. Restarted Firefox and... Video still pop out when scrolling - now in slow motion - despite the fact it does not autoplay. Firefox performance continues to drop when the

Example URL here: https://www.pcgamer.com/hearthstones-hunter-dual-class-legendaries-are-the-most-exciting-cards-to-be-revealed-so-far/

Attached screenshot shows the video pop up covering some of the menu items.

Is there a way to not allow the video to pop out? Not playing automatically is progress, but not success since it is still becoming annoying and heavy for my low spec PC.

Thank you!

more options

media.autoplay.blocking_policy should be 2 like I wrote above and not 5 unless this is a typo.

more options

Sorry, my mistake. However, it did not work. Only difference is now the pop up is not in upper right corner but in middle right, as shown in the new screenshot.

more options

You will probably need a content blocking extension.

You can look at uBlock Origin.

more options

uBlock Origin also does not work. If you "zap" pop up many elements it will only result in that single page. Not friendly enough to find out if is there a video pop up filtering. Don't think this kind of solution applies here, I was hoping it would be some hidden setting that would just prevent videos from popping up in Firefox, no extension required.

I really appreciate your help cor-el, though, but it looks like either I get a better computer or move to websites with less "gimmicks".

more options

To completely prevent buffering (which can start even if playback is blocked), you could consider using the "Image Video Block" extension which I tested very lightly back in February:

https://addons.mozilla.org/firefox/addon/image-video-block/

I'm not sure I figured out how it works, but I'm attaching a screenshot of its menu showing global settings and how to make site exceptions. You can globally block videos, images, or both. Or if only a few sites need to be tamed, you could try allowing videos globally and just create blocks for individual sites (I didn't test that). If you experiment with it, let us know what you think.

Note: quoting a URL in your reply may prevent your post from appearing immediately due to link moderation.