A lot of internet publications today have videos in the middle of their articles that have nothing to do with the actual content. Example in this WIRED article here.

I’m wondering if there is an active blocklist for this kind of content? I already have uBlocks “annoyances” all subscribed. These videos slow down the pages and are too numerous to block individually.

  • @[email protected]
    link
    fedilink
    English
    543 days ago

    Firefox lets you set default site settings, make the default site setting disable autoplay audio and video.

    For sites where you know you trust the video, you can do a per site permission in the URL bar saying autoplay is allowed for like YouTube

    • @[email protected]
      link
      fedilink
      English
      363 days ago

      To expand on this, there are two settings you can put in user.js / prefs.js (desktop) or via about:config (mobile), documented on the Mozilla Wiki:

      user_pref("media.autoplay.default", 5);
      user_pref("media.autoplay.blocking_policy", 2);
      

      Two bonus settings if you want to get rid of the “do you want to enable DRM?” pop-in bar when hitting one of those sites:

      user_pref("media.gmp-widevinecdm.enabled", false);
      user_pref("media.gmp-widevinecdm.visible", false);
      

      hth

      • fmstrat
        link
        fedilink
        English
        23 days ago

        Very helpful for my machine setup scripts. Thanks!