搜索 | 用户支持

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

详细了解

Autoplay not always blocked

  • 3 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 ascaris

more options

Firefox 78 sometimes fails to block autoplay, e.g. scrolling the front page of reddit.com or a subreddit will intermittently show videos playing.

This worked in 77. Some about:config entries I'd swear were set in 77 have vanished; I tried adding them manually, but the autoplay blocking is still hit and miss.

Also, not sure if Troubleshooting Information uploaded successfully or the page broke (see screenshot).

Firefox 78 sometimes fails to block autoplay, e.g. scrolling the front page of reddit.com or a subreddit will intermittently show videos playing. This worked in 77. Some about:config entries I'd swear were set in 77 have vanished; I tried adding them manually, but the autoplay blocking is still hit and miss. Also, not sure if Troubleshooting Information uploaded successfully or the page broke (see screenshot).
已附加屏幕截图

被采纳的解决方案

Setting media.autoplay.blocking_policy to 2 seems to work, but I shouldn't have to do this manually just because Firefox updated.

I'd still like to know if the Troubleshooting Information field in the submission form actually did what it was supposed to.

定位到答案原位置 👍 1

所有回复 (3)

more options

选择的解决方案

Setting media.autoplay.blocking_policy to 2 seems to work, but I shouldn't have to do this manually just because Firefox updated.

I'd still like to know if the Troubleshooting Information field in the submission form actually did what it was supposed to.

more options

There was no troubleshooting information send as that would appear if you click "More system details" in the side menu next to your question, so something went wrong.

See also:

more options

Edit: I had previously said autoplay blocking from the Preferences | Permissions for autoplay worked on one of my three PCs. Now it's not working on any of them, so my guess is that it's an intermittent issue as the OP wrote, and I just thought it was tied to the machines.

I use FF 83 on Linux, and as of this moment, it ignores the UI under Permissions that is set to Block audio and video (pref media.autoplay.default set to 5) on all of my machines.

I tried starting in safe mode and going to a video site, and this time, it blocked as it was supposed to. After I restarted Firefox, though, and disabled all the addons manually, one by one, it did not block autoplay. It would appear to be a pref that gets temporarily reset in safe mode.

After searching the web about the issue, I found this page, and I set the media.autoplay.blocking_policy pref to 2 as suggested, and indeed, it worked.

由ascaris于修改