Invidious is an alternative front-end to YouTube
Fix Youtube and Invidious links not rewinding their time when video timestamp is rewinded (#5601)
Fijxu1a5a71b086c9
diff --git a/assets/js/player.js b/assets/js/player.jsindex 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 secondlet 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