搜尋 Mozilla 技術支援網站

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

了解更多

Firefox autoplay

  • 3 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 Terry

more options

Where in the index file may I set firefox to autoplay? I found this code but dont know where to use it. You have to disable block auto-play and make sure media.autoplay.default = 0 Also make sure media.autoplay.allow-muted = true and media.autoplay.enabled.user-gestures-needed = false

Where in the index file may I set firefox to autoplay? I found this code but dont know where to use it. You have to disable block auto-play and make sure media.autoplay.default = 0 Also make sure media.autoplay.allow-muted = true and media.autoplay.enabled.user-gestures-needed = false

所有回覆 (3)

more options

You have to enter about:config in the address bar to see the advanced preferences. But your values are outdated. To disable autoplay, set the following:

  • media.autoplay.blocking_policy = 1
  • media.autoplay.default = 5
more options

If '1' isn't working properly for that first pref then try media.autoplay.blocking_policy = 2.

more options

The preference media.autoplay.default = 0 is correct if you want to allow autoplay. Enter about:config in the address bar. See the article previously linked.

https://wiki.mozilla.org/Media/block-autoplay#How_to_enable_or_disable_blocking_autoplay_on_Firefox.3F