diff --git a/packages/webui/components/viewers/use-frame-player.ts b/packages/webui/components/viewers/use-frame-player.ts index 3d0ab46c..e255becf 100644 --- a/packages/webui/components/viewers/use-frame-player.ts +++ b/packages/webui/components/viewers/use-frame-player.ts @@ -126,8 +126,11 @@ export function useFramePlayer( setCurrentFrame(clamped) // Snap the playhead to the center of the paused frame to align browser compositor - const safeCenterTime = calculateFrameCenterTime(clamped, frameRate) - video.currentTime = safeCenterTime + // Skip snapping if the video has ended to preserve the native ended state and allow native replay + if (!video.ended) { + const safeCenterTime = calculateFrameCenterTime(clamped, frameRate) + video.currentTime = safeCenterTime + } } video.addEventListener('play', handlePlay)