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.

  • Björn Tantau@swg-empire.de
    link
    fedilink
    English
    arrow-up
    64
    arrow-down
    1
    ·
    5 months ago

    I wonder how that will interoperate with timestamps provided by users in comments or by the video creator themselves. Maybe those can be used to detect inserted ads.

    • Baggins [he/him]@lemmy.ca
      link
      fedilink
      English
      arrow-up
      32
      ·
      5 months ago

      The server must have to send some metadata to the client telling when it’s running an ad because there are other things that need to happen client side during that like adjusting of the time or making the ad clickable

    • ayaya@lemdro.id
      link
      fedilink
      English
      arrow-up
      21
      ·
      5 months ago

      I have actually been seeing some timestamps that are completely wrong lately, maybe this is why.