Merge pull request #2750 from 11Tuvork28/patch-2

Removes annoying video switching | Fixes #2736
pull/2653/merge
Samantaz Fox 3 years ago committed by GitHub
commit 8231216371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -215,7 +215,7 @@ if (video_data.params.save_player_pos) {
const raw = player.currentTime(); const raw = player.currentTime();
const time = Math.floor(raw); const time = Math.floor(raw);
if(lastUpdated !== time) { if(lastUpdated !== time && raw <= video_data.length_seconds - 15) {
save_video_time(time); save_video_time(time);
lastUpdated = time; lastUpdated = time;
} }

Loading…
Cancel
Save