SponsorBlock icon indicating copy to clipboard operation
SponsorBlock copied to clipboard

blocks starting at 0:00 not always skipping

Open nullx8 opened this issue 8 months ago • 5 comments

this is likely related to loading time and Javascript priorities.

when a video starts with a sponsor block the block is mostly not skipped or even displayed as the extension is still loading/initializing.

example: ubvpq6TulIw

nullx8 avatar May 04 '25 17:05 nullx8

possible fix to include negative starting time based on the loading time. or treating the first x sec of the video as 0:00 when the extension loads.

nullx8 avatar May 04 '25 17:05 nullx8

What do you mean by this? Are there specific times when it never skips? It is skipping fine on my end

ajayyy avatar May 14 '25 05:05 ajayyy

i made a few tests, it seems to be performance related, if the video plays before the extension is active, it will not skip if the block has already started.

as example if the block starts at 00:00 or 00:01 .. the browser lags behind and the extension becomes active at 00:03 the current block will not be skipped ot acknowledged by the extension, this happens only in this scenario, i tested multiple ways with timestamps or similar, where it never happend, this seems to be only to occur at the very beginning of the video and if the page is loaded too slow. (slow internet or local system load (i tested both))

nullx8 avatar May 14 '25 06:05 nullx8

The extension sometimes might not skip segments starting at 0:00.000.

https://github.com/user-attachments/assets/7c5785a1-87c1-4b4b-aaa9-8d55488e70ef

Diwannist avatar Jul 22 '25 08:07 Diwannist

@computerstimulation Unsubmitted segments behave a little differently than submitted ones, is this only happening for unsubmitted ones?

ajayyy avatar Jul 22 '25 17:07 ajayyy