The Smell of Molten Projects in the Morning

Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.

Firefox + uBlock Origin vs. CNN Autoplay Videos

Set up these filters in uBlock Origin, per some hints:

||registry.api.cnn.io/assets/fave/theoplayer$domain=cnn.com
cnn.com###large-media

All those annoying CNN auto-play videos will vanish, along with any videos you might have wanted. For me, it’s a reasonable tradeoff, as most (useful) videos will be available on Youtube or elsewhere.

The built-in browser controls you might think of activating, as I have, don’t work on CNN videos, because CNN uses theoplayer, a “universal” Javascript-based player. It’s not Flash, it’s not HTML5, it’s not a specific video thing, it’s a way to work around all those blocking mechanisms.

Mostly, I don’t get news from CNN, but occasionally a link will lead there, a video appears, and instantly gets muted.

Burn them. Burn them all.

Update: Some sites run auto-play videos through JW Player, which you kill thusly:

||jwcdn.com
||content.jwplatform.com

That blocks the source of the player, which seems to not depend on the site using it. So far, so good.

Comments

2 responses to “Firefox + uBlock Origin vs. CNN Autoplay Videos”

  1. madbodger Avatar
    madbodger

    Neat! I have zero patience for auto-playing videos.

    1. Ed Avatar

      Particularly for content-free talking heads … which almost completely describes CNN’s videos.

      Converting five seconds of information into three minutes of blather must require talent!