mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-11 05:57:07 +03:00
Fixed pausing and restarting the video not skipping
This commit is contained in:
@@ -589,11 +589,11 @@ function sponsorsLookup(id: string) {
|
||||
}
|
||||
});
|
||||
video.addEventListener('seeking', () => {
|
||||
if (!video.paused){
|
||||
// Reset lastCheckVideoTime
|
||||
lastCheckTime = Date.now();
|
||||
lastCheckVideoTime = video.currentTime;
|
||||
|
||||
if (!video.paused){
|
||||
startSponsorSchedule();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user