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.

@sponsorblock …wonder if there’s enough metadata exposed to determine new offsets and block the injected ads? like, maybe something can be pulled from the transcript from known good submissions?

probably not accurate enough to make submissions on an injected video work properly, but.