Hacker News new | ask | show | jobs
by pessimizer 530 days ago
I somehow managed to do it completely and flawlessly in Firefox after a day of effort and sheer hate for the fact that checking the box to keep videos from autoplaying didn't keep any videos from autoplaying. I've now forgotten how I did it and I'm afraid to change any config settings. I think I recall some diffing utility for firefox settings that I could hopefully use to figure out what I did.

It burns me up that the fact that I blocked autoplay reliably means that Firefox could do it, they just don't want to.

edit: I might have gotten the settings from a blog, but I have a strong feeling they might have been from combing the firefox bugtracker.

1 comments

Firefox is supposed to block autoplay of videos that have audio unless the user has clicked to play a video on the same page. There is definitely an arms race for ads that find holes in the autoplay heuristics.

You might try setting the about:config settings “media.autoplay.default” to 5 and/or “media.autoplay.blocking_policy” to 2:

https://searchfox.org/mozilla-central/rev/e24277e20c492b4a78...

https://searchfox.org/mozilla-central/rev/e24277e20c492b4a78...

If you think there is a Firefox bug, you can file a bug report and link it to this autoplay bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1376321

> Firefox is supposed to block autoplay of videos that have audio.

I want a reliable way to block autoplay of all videos, whether or not they have audio.