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