From cfe043113102f9779c2fdcafcaf298621dee990c Mon Sep 17 00:00:00 2001 From: joshen Date: Wed, 23 Jul 2025 11:21:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/VideoPlayer/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/VideoPlayer/index.vue b/src/components/VideoPlayer/index.vue index 13889a46..7742cc68 100644 --- a/src/components/VideoPlayer/index.vue +++ b/src/components/VideoPlayer/index.vue @@ -317,7 +317,7 @@ export default { } setInterval(() => { - console.log('当前状态:',this.currentProgress,this.isDrag,this.videoDom.currentTime , this.videoDom.duration) + // console.log('当前状态:',this.currentProgress,this.isDrag,this.videoDom.currentTime , this.videoDom.duration) // 视频播放时本地记录视频实时播放时长,视频设置了禁止拖动时执行 if(!this.isDrag){ var time = localStorage.getItem('videoProgressData') @@ -364,10 +364,10 @@ export default { } // 根据视频的readyState判断下一帧是否已加载,并控制loading的显示 this.isShowLoading = this.videoDom.readyState < 3; - console.log("当前缓存:"+this.videoDom.readyState) + // console.log("当前缓存:"+this.videoDom.readyState) if (this.videoDom.readyState < 3){ - console.log("详细信息",this.videoDom) - console.log("卡了",this.videoDom.readyState) + // console.log("详细信息",this.videoDom) + // console.log("卡了",this.videoDom.readyState) } //if() //console.log(this.videoDom.readyState,'this.videoDom.readyState');