diff --git a/editor/components/PreviewPanel.vue b/editor/components/PreviewPanel.vue index 3f83f4d..dfd0da5 100644 --- a/editor/components/PreviewPanel.vue +++ b/editor/components/PreviewPanel.vue @@ -15,7 +15,7 @@ watch(() => props.videoUrl, async (url) => { videoRef.value.src = url playing.value = false paused.value = false -}) +}, { immediate: true }) function togglePlay() { if (!videoRef.value) return