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

搜尋 Mozilla 技術支援網站

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

了解更多

How do I block autoplay video only on certain websites?

  • 6 回覆
  • 1 有這個問題
  • 10 次檢視
  • 最近回覆由 Rick

more options

A good example is https://www.theolympian.com/.

Please note that I don't want to stop being able to hover over videos and play them while hovering over them! I tried disabling autoplay in about:config and ended up disabling playing videos while hovering over them.

A good example is https://www.theolympian.com/. Please note that I don't want to stop being able to hover over videos and play them while hovering over them! I tried disabling autoplay in about:config and ended up disabling playing videos while hovering over them.

被選擇的解決方法

Looking at the website that you have provided as an example, Firefox does block the videos that are playing sound. The problem is that the videos on the website are set by the website so that they start muted. Therefore, since they aren't emitting any sound, Firefox doesn't block them.

You can set Firefox to block muted videos in the about:config, but it will have the unwanted effect of also blocking features like the hover preview that you've already described.

從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options

What you could do is allow Firefox to autoplay videos on all websites and then add the ones that you want to block to the exception list.

More information about adding a website to the exception list can be found in the Allow or block media autoplay in Firefox article.

Hope this helps.

more options

Thanks for trying but I don't understand what you mean since there's no option on the page you referred to for adding an exception website, only an option after clicking the i icon on the address bar to allow or block autoplay sound videos.

I have Autoplay Sound already blocked in Options and these videos play anyway and it's pretty damned annoying.

more options

The "Tools -> Page Info -> Permissions" page has a "Autoplay sound" checkbox.

more options

選擇的解決方法

Looking at the website that you have provided as an example, Firefox does block the videos that are playing sound. The problem is that the videos on the website are set by the website so that they start muted. Therefore, since they aren't emitting any sound, Firefox doesn't block them.

You can set Firefox to block muted videos in the about:config, but it will have the unwanted effect of also blocking features like the hover preview that you've already described.

more options

Thanks again Wesley, this is one of the reasons why I have a love/hate relationship with Firefox. Cheers!

more options

Thanks for trying cor-el but Wesley checked the website and their videos start muted, which is why they play (and annoy the hell out of me!).

He pointed out that I could change about:config autoplay settings but that would interfere with my ability to play snippets of videos on other sites by hovering over the videos with my cursor.

  • sigh* There is no love for Firefox users!