Check if the video is currently playing when deciding to seek due to misalignment

This commit is contained in:
Nicolas Mowen 2025-12-19 16:35:55 -07:00
parent 442eeec603
commit 43a0d4541f

View File

@ -309,7 +309,10 @@ export function RecordingView({
currentTimeRange.after <= currentTime &&
currentTimeRange.before >= currentTime
) {
mainControllerRef.current?.seekToTimestamp(currentTime, true);
mainControllerRef.current?.seekToTimestamp(
currentTime,
mainControllerRef.current.isPlaying(),
);
} else {
updateSelectedSegment(currentTime, true);
}