mirror of
https://github.com/iv-org/invidious.git
synced 2026-05-18 14:11:22 -05:00
Merge e9a44c457fbfe68aca9731481d0f86472bef6f3a into 103f80e617ed26e7be42c890bb6e837cbebbf7e6
This commit is contained in:
commit
15786dc038
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user