mirror of
https://github.com/iv-org/invidious.git
synced 2026-02-17 17:48:32 -06:00
Merge 584c8152559ca38493fcfee3cb8b5bc94b0feea8 into e7f8b15b215f86f10ee788bc716b559527d4b801
This commit is contained in:
commit
4350e789c9
@ -132,7 +132,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