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

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

This reverts commit c3ee8a5d90df83d6e53b78b6d6e9669729b391aa.
This commit is contained in:
Fijxu 2026-01-19 02:08:34 -03:00
parent 66c67f4c7a
commit e9a44c457f
No known key found for this signature in database
GPG Key ID: 32C1DDF333EDA6A4

View File

@ -132,7 +132,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