We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox autoplay

  • 3
  • 0
  • 1 view
  • Nzaghachi ikpeazụ nke 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

All Replies (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