YouTube is currently experimenting with server-side ad injection. This means that the ad is being added directly into the video stream.

This breaks sponsorblock since now all timestamps are offset by the ad times.

For now, I set up the server to detect when someone is submitting from a browser with this happening and rejecting the submission to prevent the database from getting filled with incorrect submissions.

  • d-RLY?@lemmy.ml
    link
    fedilink
    English
    arrow-up
    20
    ·
    5 months ago

    At least it should still work with the hard coded sponsor spots that are actually part of the videos (like the “brought to you by Manscaped” or whatever).

    • Darkassassin07@lemmy.ca
      link
      fedilink
      English
      arrow-up
      25
      ·
      5 months ago

      Only if the ads are a fixed length and always in the same place for each playback of the same video.

      Inserting ads of various lengths in varying places throughout the video will alter all the time stamps for every playback.

      The 5th minute of the video might happen 5min after starting playback, or it could be 5min+a 2min ad break after starting. This could change from playback to playback; so basing ad/sponsor blocking on timestamps becomes entirely useless.