为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Autoplay Disabled but Some Videos Still Autoplay

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Rob

more options

I have disabled autoplay in my preferences for all websites, but some videos on some websites still autoplay. (This is under Preferences / Privacy and Security / Autoplay. Under "Default for all Websites", it is set to Block Audio and Video.) How is it that some websites are able to get around this? Is there a way to defeat them?

I have disabled autoplay in my preferences for all websites, but some videos on some websites still autoplay. (This is under Preferences / Privacy and Security / Autoplay. Under "Default for all Websites", it is set to Block Audio and Video.) How is it that some websites are able to get around this? Is there a way to defeat them?

所有回复 (4)

more options

How about trying the same process in a new version of Firefox.

https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

Can you provide the site that auto plays for you?

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.default = 5 [0:allow;1:blockAudible;2:Prompt;5:blockAll]
  • media.autoplay.blocking_policy = 2
  • media.autoplay.allow-extension-background-pages = false
  • media.autoplay.block-event.enabled = true

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

jonzn4SUSE and cor-el: thanks for the replies. To answer your questions:

1. According to About Firefox, my version is up to date. It is 78.6.1esr. 2. One site that autoplays videos, despite my settings, is www.espn.com/nba 3. My about:config settings (after a search for "autoplay" are currently set to:

dom.media.autoplay.autoplay-policy-api false media.autoplay.allow-extension-background-pages true media.autoplay.block-event.enabled false media.autoplay.block-webaudio false media.autoplay.blocking_policy 0 media.autoplay.default 5 media.autoplay.enabled false media.block-autoplay-until-in-foreground true media.geckoview.autoplay.request false media.geckoview.autoplay.request.testing 0 services.sync.prefs.sync.media.autoplay.default true

Cor-el recommended:

   media.autoplay.default = 5 [0:allow;1:blockAudible;2:Prompt;5:blockAll]    SAME AS MINE
   media.autoplay.blocking_policy = 2                                           MINE IS 0.  SHOULD I CHANGE?
   media.autoplay.allow-extension-background-pages = false         MINE IS TRUE. SHOULD I CHANGE?
   media.autoplay.block-event.enabled = true                             MINE IS FALSE.  SHOULD I CHANGE?

Thanks for the help.

more options

After posting the details (see above), anybody got any suggestions?