-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
I was wondering if it is normal that when the source changes there is no effect? Yet there is a watchEffect.
const src = ref('https://upload.wikimedia.org/wikipedia/commons/transcoded/a/a5/Spring_-_Blender_Open_Movie.webm/Spring_-_Blender_Open_Movie.webm.360p.vp9.webm')
const video = ref()
const { playing } = useMediaControls(video, { src: src.value })
onMounted(() => {
setTimeout(() => {
src.value = 'https://upload.wikimedia.org/wikipedia/commons/transcoded/f/f1/Sintel_movie_4K.webm/Sintel_movie_4K.webm.1080p.vp9.webm'
}, 2000)
})Metadata
Metadata
Assignees
Labels
No labels