Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

block autoplay not working on 112.0.2

  • 4 பதிலளிப்புகள்
  • 4 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by matt3916

Block autoplay not working on 112.0.2. I've tried going into about:config and changing settings. Doesn't help. Also under "Settings \ Permissions \ Autoplay" shows default for all websites as "Block Audio and Video" and under Websites "About:Welcome" shows as "Allow audio and video." I've changed the About:Welcome to block audio and video. I've also tried clicking the Remove All Websites button to delete the exception. Neither works. I save changes, exit Firefox, and restart. Same settings as before, and autoplay still starts.

Block autoplay not working on 112.0.2. I've tried going into about:config and changing settings. Doesn't help. Also under "Settings \ Permissions \ Autoplay" shows default for all websites as "Block Audio and Video" and under Websites "About:Welcome" shows as "Allow audio and video." I've changed the About:Welcome to block audio and video. I've also tried clicking the Remove All Websites button to delete the exception. Neither works. I save changes, exit Firefox, and restart. Same settings as before, and autoplay still starts.

தீர்வு தேர்ந்தெடுக்கப்பட்டது

It was the "media.autoplay.blocking_policy = 2" that fixed the problem. Thanks for your help.

Read this answer in context 👍 0

All Replies (4)

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.


What setting should I use for "media.block-autoplay-until-in-foreground"?

You can set that pref to what you prefer if you would open a link in a background tab or have switched to another tab, possibly if you already have another video playing and have an auto-play allow exception as it is usually annoying to you need to start every YouTube video to proceed to the next.

தீர்வு தேர்ந்தெடுக்கப்பட்டது

It was the "media.autoplay.blocking_policy = 2" that fixed the problem. Thanks for your help.