From 736a739723d0f7c541a6d425e440fe77b260539e Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Mon, 19 May 2025 09:01:54 -0600 Subject: [PATCH] Fix seeking --- web/src/components/player/HlsVideoPlayer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/player/HlsVideoPlayer.tsx b/web/src/components/player/HlsVideoPlayer.tsx index 775159dc1..7a147939f 100644 --- a/web/src/components/player/HlsVideoPlayer.tsx +++ b/web/src/components/player/HlsVideoPlayer.tsx @@ -230,7 +230,7 @@ export default function HlsVideoPlayer({ hotKeys={hotKeys} onPlayPause={onPlayPause} onSeek={(diff) => { - const currentTime = getVideoTime(); + const currentTime = videoRef.current?.currentTime; if (!videoRef.current || !currentTime) { return;