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

搜索 | 用户支持

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

详细了解

Video autoplay blocking issue

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

more options

Autoplay media blocking does not work. I've tried to block autoplay on sites settings and also done this about:config fix without results.

   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 '

Videos still start playing in some websites. I've noticed that when reloading the page, then autoplay blocking works.

Example: https://www.iltalehti.fi/formulat/a/35242327-7699-45a2-a1b5-75ff330a9d13 When i go to page first time, it shows on the left of address bar, that autoplay function is not even enabled (no autoplay block icon). When i reload/refresh the page, then it shows that autoplay is disabled and autoplay block is working properly (icon appears).

So it's only issue when visiting the page first time, if page is refreshed, no issues.

Autoplay media blocking does not work. I've tried to block autoplay on sites settings and also done this about:config fix without results. 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 '''' Videos still start playing in some websites. I've noticed that when reloading the page, then autoplay blocking works. Example: https://www.iltalehti.fi/formulat/a/35242327-7699-45a2-a1b5-75ff330a9d13 When i go to page first time, it shows on the left of address bar, that autoplay function is not even enabled (no autoplay block icon). When i reload/refresh the page, then it shows that autoplay is disabled and autoplay block is working properly (icon appears). So it's only issue when visiting the page first time, if page is refreshed, no issues.
已附加屏幕截图

所有回复 (6)

more options

I suppose the last line contains a typo ( ').

Try setting this value also. media.block-autoplay-until-in-foreground = false

more options

Yes, it was a typo and was already set to: false. This issue is somehow related to page loading, because page refresh does correct it.

more options

Autoplay is blocked for me on your example site with those settings, regardless of navigation method.

The blocked autoplay icon only appears if something tries to autoplay. Animated images are not treated as playable media and will never be blocked.

Does it still happen in Troubleshoot Mode?

more options

This autoplay issue happens also in troublehoot mode. Only page refresh stops video autoplay.

I just noticed that the ink in my starting post (if i click the direct link) video autoblock works. But when i go example to: https://www.iltalehti.fi/ and click any news link, videos start autoplaying until i refresh the page.

由P X R I于修改

more options

Just noticed that direct link that i posted first, if i click the link, autoplay block does work.

If i go to https://www.iltalehti.fi/ and click any news link, then video autoplay block does not work. Blocking works only after page refresh.

This happens in many other sites as well.

由P X R I于修改

more options

Does it still happen in a new profile? An easy way to test a new profile is to install Developer Edition and see if it happens there or refresh your existing profile.