From 021c437aae7921ed99f85fc120e412ff574e61d8 Mon Sep 17 00:00:00 2001 From: WardPearce Date: Thu, 5 Mar 2026 11:06:52 +1300 Subject: [PATCH] Only set progress if not at last 10 seconds --- materialious/src/lib/components/player/Player.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/materialious/src/lib/components/player/Player.svelte b/materialious/src/lib/components/player/Player.svelte index 8bbe552f..37dfe0f7 100644 --- a/materialious/src/lib/components/player/Player.svelte +++ b/materialious/src/lib/components/player/Player.svelte @@ -728,7 +728,9 @@ let toSetTime = 0; const watchHistory = await getVideoWatchHistory(data.video.videoId); - if (watchHistory && watchHistory.progress > toSetTime) toSetTime = watchHistory.progress; + if (watchHistory && watchHistory.progress < playerMaxKnownTime - 10) { + toSetTime = watchHistory.progress; + } return toSetTime; }