diff --git a/assets/js/player.js b/assets/js/player.js index 71c5e7da..9d99e3c7 100644 --- a/assets/js/player.js +++ b/assets/js/player.js @@ -352,6 +352,7 @@ if (video_data.params.save_player_pos) { let lastUpdated = 0; if(!hasTimeParam) set_seconds_after_start(rememberedTime); + if (rememberedTime >= video_data.length_seconds - 20 && !hasTimeParam) set_seconds_after_start(0); player.on('timeupdate', function () { const raw = player.currentTime();