From fbd84c617cde1f1663f0d3c785439ab27314259b Mon Sep 17 00:00:00 2001 From: ShanYi-Hui Date: Thu, 12 Dec 2024 18:20:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20videoPlayer=20=E7=9A=84=E5=AE=9E?= =?UTF-8?q?=E4=BE=8B=E6=9C=AA=E8=B5=8B=E5=80=BC?= 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 4fd639a4..83c8d30b 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)