diff --git a/src/components/VideoPlayer.vue b/src/components/VideoPlayer.vue index 25a33c7..db16cb9 100644 --- a/src/components/VideoPlayer.vue +++ b/src/components/VideoPlayer.vue @@ -1376,7 +1376,10 @@ function formatTime(sec: number): string { async function playFullFile() { videoLoading.value = true videoError.value = '' - marks.value = marks.value.filter(m => m.source !== 'face') + marks.value = [] + playMode.value = 'continuous' + currentTraceIdx.value = 0 + currentSegmentIdx.value = 0 try { const data = await apiCall('get_video_stream', { uuid: props.fileUuid, @@ -1393,6 +1396,7 @@ async function playFullFile() { videoSrc.value = URL.createObjectURL(blob) } frameOffset.value = 0 + seekFrame.value = 0 await nextTick() videoEl.value?.load() } catch (e: any) {