this post was submitted on 11 Nov 2024
157 points (98.8% liked)

Technology

59601 readers
3417 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] jet@hackertalks.com 55 points 1 week ago (2 children)

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

[–] scsi@lemm.ee 38 points 1 week ago (1 children)

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@lemmy.nowsci.com 2 points 1 week ago

Very helpful for my machine setup scripts. Thanks!