This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Autoplay Block not Working

more options

I have Autoplay set to Block Audio and Video for imdb.com, but when I visit the website videos start to play.

I have Autoplay set to Block Audio and Video for imdb.com, but when I visit the website videos start to play.

All Replies (3)

more options

You may have to set preferences in about:config. That site doesn't autoplay here. media.autoplay.default = 5 [0:allow;1:blockAudible;5:blockAll] media.autoplay.block-event.enabled = true media.block-autoplay-until-in-foreground = false media.autoplay.allow-extension-background-pages = false media.autoplay.blocking_policy = 2

https://support.mozilla.org/en-US/questions/1378457 https://support.mozilla.org/en-US/kb/about-config-editor-firefox

Modified by Terry

more options

You can look at these prefs on the about:config page to see what settings work for you to block autoplay.

  • media.autoplay.default = 5 [0:allow;1:blockAudible;5:blockAll]
  • media.autoplay.blocking_policy = 2
  • media.autoplay.allow-extension-background-pages = false
  • media.autoplay.block-event.enabled = true
  • media.block-autoplay-until-in-foreground

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


more options

Thanks Terry and cor-el! It works now. It appears that the UI setting is broken?