• Squiddlioni@kbin.melroy.org
    link
    fedilink
    arrow-up
    23
    ·
    19 days ago

    Twitch (and YouTube currently) switches to a new content stream to play an ad, which is easy to detect and block in an extension. If I understand the tech correctly, server side ads would be stitched into the playing content stream. The extension would have to know the content of the video to know that an ad is playing. There are some clever ways that might be caught (looking for spikes in bitrate, volume differences, etc), but none of that currently exists in the software in the OP.

      • Farid@startrek.website
        link
        fedilink
        arrow-up
        9
        ·
        19 days ago

        Let’s assume you can use that to determine the beginning of an ad, how do you know how much to skip?

    • ziggurat@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      19 days ago

      AFAIK currently, they just add black video into the YouTube video, and play an ad separately from the main video stream. That’s what I’ve heard about people with working ad block who got this, there was just black video added to their YouTube video