fix: remove noop arrow functions in player

This commit is contained in:
2026-05-24 22:45:04 +02:00
parent aa650068b1
commit 36f1961c9e
6 changed files with 31 additions and 12 deletions

View File

@@ -17,7 +17,9 @@ const loadVideo = (url: string): void => {
state.video.src = url;
state.video.load();
state.pendingSeekTime = prevTime;
if (wasPlaying) state.video.play().catch(() => {});
if (wasPlaying) {
state.video.play().catch(() => undefined);
}
};
/**