this post was submitted on 25 Jul 2024
699 points (98.5% liked)

Technology

59174 readers
2689 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 has been spotted testing server-side ads, which could pose a problem to ad blockers.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 3 months ago

For ergonomics, the plugin should be able to spot cuts in the video so you can easily select the correct frames.

This shouldn't even be too hard, I doubt YouTube is completely rerendering every video with ads, they'd just insert the ad in before an I frame in the video. So each ad will start with an I frame, and the video will resume on an I frame, meaning just let the user select all the I frames, no fancy cut detection algorithm is needed.

I have no idea how to do this from JS though.

Also I mean video I frames, not HTML iframes.