block autoplay not working on 112.0.2
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.
Solução escolhida
It was the "media.autoplay.blocking_policy = 2" that fixed the problem. Thanks for your help.
Ler esta resposta no contexto 👍 0Todas as respostas (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.
Solução escolhida
It was the "media.autoplay.blocking_policy = 2" that fixed the problem. Thanks for your help.