Fix Youtube and Invidious links not rewinding their time when video timestamp is rewinded (#5601)

Revert "Fix Youtube and Invidious links not rewinding their time when video timestamp is rewinded"

This reverts commit c3ee8a5d90.
This commit is contained in:
Fijxu
2026-05-29 23:54:08 -04:00
committed by GitHub
parent 3a35552a66
commit 1a5a71b086

View File

@@ -133,7 +133,7 @@ var timeupdate_last_ts = 5;
player.on('timeupdate', function () { player.on('timeupdate', function () {
// Only update once every second // Only update once every second
let current_ts = Math.floor(player.currentTime()); let current_ts = Math.floor(player.currentTime());
if (current_ts > timeupdate_last_ts) timeupdate_last_ts = current_ts; if (current_ts != timeupdate_last_ts) timeupdate_last_ts = current_ts;
else return; else return;
// YouTube links // YouTube links