Invidious is an alternative front-end to YouTube
Add check to avoid saving player pos to the
11Tuvork28d59323a60162
diff --git a/assets/js/player.js b/assets/js/player.jsindex 0cc4bab9..d45ff5d0 100644--- a/assets/js/player.js+++ b/assets/js/player.js@@ -215,7 +215,7 @@ if (video_data.params.save_player_pos) {const raw = player.currentTime();const time = Math.floor(raw);- if(lastUpdated !== time) {+ if(lastUpdated !== time && raw <= video_data.length_seconds - 15) {save_video_time(time);lastUpdated = time;}