mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-10 05:27:03 +03:00
@@ -863,7 +863,12 @@ function setupVideoListeners() {
|
||||
updateVirtualTime();
|
||||
clearWaitingTime();
|
||||
|
||||
startSponsorSchedule();
|
||||
// Sometimes looped videos loop back to almost zero, but not quite
|
||||
if (getVideo().loop && getVideo().currentTime < 0.2) {
|
||||
startSponsorSchedule(false, 0);
|
||||
} else {
|
||||
startSponsorSchedule();
|
||||
}
|
||||
} else {
|
||||
updateActiveSegment(getVideo().currentTime);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user