this post was submitted on 13 Jun 2024
620 points (98.4% liked)

Technology

59135 readers
2878 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
 
  • YouTube is testing server-side ad injection to counter ad blockers, integrating ads directly into videos to make them indistinguishable from the main content.
  • This new method complicates ad blocking, including tools like SponsorBlock, which now face challenges in accurately identifying and skipping sponsored segments.
  • The feature is currently in testing and not widely rolled out, with YouTube encouraging users to subscribe to YouTube Premium for an ad-free experience.
you are viewing a single comment's thread
view the rest of the comments
[–] cley_faye@lemmy.world 8 points 4 months ago (2 children)

Ads should be properly labeled in most market, so it should be trivial to detect what segment is ad and what isn't. The real question is, what to do, and if the server refuses to serve the remainder of the video before the ads duration, what will it be replaced with.

[–] viking@infosec.pub 4 points 4 months ago (1 children)

Just catch everything in the background, play the full ad on mute, and when the ad segment is coming up in the stream you are actually watching, switch to the cached copy. Shouldn't be too hard to program.

[–] fin@sh.itjust.works 2 points 4 months ago (1 children)

How about replacing them with something nicer, like just showing “Take a moment to pause…” screen with audio muted/relaxing music background?

[–] viking@infosec.pub 2 points 4 months ago

Sure, I'd take that over ads anytime.

[–] umami_wasbi@lemmy.ml 2 points 4 months ago (1 children)

I doubt if they will refuse to serve as the stream still need to buffer. That's the fundemental of streaming.

Or I missed something?

[–] cley_faye@lemmy.world 3 points 4 months ago

Streaming allow caching a bit ahead, yes. But the "a bit ahead" part does not mean you can get everything; a server could very well decide to not send more than a few seconds of buffer compared to the realtime play. So, if you're at 00:00:20 in your video and an 30 second ad is present in the video stream, the server could decide to not send anything beyond the 00:00:55 tag until 30 seconds have elapsed, for example.

It would be very annoying to code server side, and very annoying for people with spotty internet, but it's very doable.