Slashdot Mirror


Firefox To Block Auto-Playing Audio Starting March 2019 (zdnet.com)

An anonymous reader writes: Starting with Firefox 66 -- scheduled for release on March 19, 2019 -- Mozilla plans to block auto-playing audio on both desktop and mobile -- a feature it began to test on Nightly builds last year. The new rule will apply to any website that plays audio without user interaction in advance -- such as a user clicking a button. The audio autoplay ban will apply to both HTML5 audio and video elements used for media playback in modern browsers, meaning Firefox will block sound coming from both ads and video players, the most common sources of such abuse. Mozilla's move comes almost a year after Chrome took a similar decision to block all auto-playing sound by default with the release of Chrome 66 in April 2018. Microsoft similarly announced plans to block auto-playing sounds in Edge, but the feature never made it to production.

3 of 85 comments (clear)

  1. Video by jwhyche · · Score: 5, Informative

    What about video? That is just as bad, if not worse. An how about blocking the ability for a video to self extract its ass from a frame and chase my ass down the page.

    --
    I read at +2. If your post doesn't reach that level I will not see or respond to it.
    1. Re:Video by markdavis · · Score: 4, Informative

      >" What about video? That is just as bad, if not worse."

      You can already do this in Firefox (blocking autoplay of ALL regular video, regardless of muted or not). And you can do it in many versions, including the current. But it requires a setting in about:config (Firefox is the only browser I know of so far that allows blocking autoplay of muted video, and no addon/plugin is needed):

      media.autoplay.default=1
      media.autoplay.enabled.user-gestures-needed=false
      media.autoplay.allow-muted=false

      Although it will break some sites (I find in practice it is a rare thing, though). The Firefox UI currently includes no way to set the first two of the above, you must use about:config.

      Yes, there are some nasty ways around this that some bad sites could still use. To improve further, make sure to block the playing of animated GIF/PNG/WEBP, too (note there is no per-use control for this, unfortunately):

      image.animation_mode;once (if you want to play it once only, no looping) or
      image.animation_mode;none (never play it at all)

  2. Blocking silent video is a hard problem by tepples · · Score: 3, Informative

    Blocking automatic playback of audio will block automatic playback of video with audio. Blocking automatic playback of silent video is a much harder problem. Just blocking MP4, WebM, and GIF animations is not enough, as a site can provide fallbacks that use script or even pure CSS. Some Slashdot users claim to have used extensions to block video, but none of them seem to block all methods in my test suite.