From 1a5a71b086c92f16e9c1df74b834c80c7e41e42c Mon Sep 17 00:00:00 2001 From: Fijxu Date: Fri, 29 May 2026 23:54:08 -0400 Subject: [PATCH] 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 c3ee8a5d90df83d6e53b78b6d6e9669729b391aa. --- assets/js/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/player.js b/assets/js/player.js index 455b557c..805ae6ef 100644 --- a/assets/js/player.js +++ b/assets/js/player.js @@ -133,7 +133,7 @@ var timeupdate_last_ts = 5; player.on('timeupdate', function () { // Only update once every second 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; // YouTube links