From 0d904de3ed9b42c83286822330f409ec82a25ff7 Mon Sep 17 00:00:00 2001 From: joshen Date: Thu, 6 Mar 2025 20:27:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=B8=80=E4=B8=8B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoPlayer/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/VideoPlayer/index.vue b/src/components/VideoPlayer/index.vue index 86465e5a..17c8d26f 100644 --- a/src/components/VideoPlayer/index.vue +++ b/src/components/VideoPlayer/index.vue @@ -385,7 +385,7 @@ export default { console.log('\x1b[31m%s\x1b[0m','*****************加载失败**********') }) // 监听全屏事件的变化,保存数据 - window.addEventListener("fullscreenchange", () => { + window.addEventListener("F", () => { this.isFullscreen = this.isFullScreen(); }); }, @@ -409,6 +409,7 @@ export default { /* 切换播放状态 */ togglePlayStatus() { + cosnole.log("togglePlayStatus is this.videoDom.paused ",this.videoDom.paused) if (this.videoDom.paused) { if(!this.isInit && this.initTime != null && this.initTime > 0){ this.videoDom.currentTime = this.initTime;