Chris Pearce reported the news in Mozilla Hacks:
Starting with the release of Firefox 66 for desktop and Firefox for Android, Firefox will block audible audio and video by default. We only allow a site to play audio or video aloud via the
HTMLMediaElementAPI once a web page has had user interaction to initiate the audio, such as the user clicking on a “play” button.
This is great news, and a victory for web sanity!
NoScript has had this feature since the beginning, and was the first extension to allow blocking HTML5’s
audio elements. If this is too blunt an instrument, you can also set
about:config in the meantime.
A Twitterati asking me about this lead me to realise what’s obvious or frustrating to me may not be to everyone. Some of us find autoplaying videos frustrating because they’re unexpected, not user-initiated, and compete with other media we’re playing. Until recently they were also notoriously difficult to track down if you had dozens of tabs open; at least now Firefox shows which tabs have playing audio. It’s about returning user control.