fix: editor PreviewPanel updates
This commit is contained in:
@@ -15,7 +15,7 @@ watch(() => props.videoUrl, async (url) => {
|
|||||||
videoRef.value.src = url
|
videoRef.value.src = url
|
||||||
playing.value = false
|
playing.value = false
|
||||||
paused.value = false
|
paused.value = false
|
||||||
})
|
}, { immediate: true })
|
||||||
|
|
||||||
function togglePlay() {
|
function togglePlay() {
|
||||||
if (!videoRef.value) return
|
if (!videoRef.value) return
|
||||||
|
|||||||
Reference in New Issue
Block a user