From 0e99f8374a6c4aac19da9105c9b0c1f4950f87c7 Mon Sep 17 00:00:00 2001 From: clddup <105873086+clddup@users.noreply.github.com> Date: Fri, 30 Aug 2024 15:01:51 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20VideoPlayer=20=E7=9A=84=E5=AE=9E?= =?UTF-8?q?=E4=BE=8B=E6=9C=AA=E8=B5=8B=E5=80=BC=20#524?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoPlayer/src/VideoPlayer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/VideoPlayer/src/VideoPlayer.vue b/src/components/VideoPlayer/src/VideoPlayer.vue index 4fd639a..83c8d30 100644 --- a/src/components/VideoPlayer/src/VideoPlayer.vue +++ b/src/components/VideoPlayer/src/VideoPlayer.vue @@ -21,7 +21,7 @@ const videoEl = ref() const intiPlayer = () => { if (!unref(videoEl)) return - new Player({ + playerRef.value = new Player({ autoplay: false, ...props, el: unref(videoEl)