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

Removes annoying video switching | Fixes #2736
このコミットが含まれているのは:
Samantaz Fox 2022-01-04 18:42:59 +01:00 committed by GitHub
コミット 8231216371
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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;
}