Compare commits

..

4 Commits

Author SHA1 Message Date
joshen
77a3c2759e 取消日志 2025-07-23 11:14:08 +08:00
joshen
0830c53840 Merge remote-tracking branch 'yx/master-0720-lyc' into master-110 2025-07-23 11:02:35 +08:00
joshen
7bcff6bc85 Merge remote-tracking branch 'yx/master-0720-lyc' into master-110
# Conflicts:
#	src/components/VideoPlayer/index.vue
2025-07-23 10:23:24 +08:00
joshen
ce23930a04 test 2025-07-11 17:46:17 +08:00

View File

@@ -317,8 +317,8 @@ export default {
}
setInterval(() => {
console.log('当前状态:',this.currentProgress,this.isDrag,this.videoDom.currentTime , this.videoDom.duration)
// 视频播放时本地记录视频实时播放时长,视频设置了禁止拖动时执行
// console.log('this.currentProgress::',this.currentProgress,this.isDrag,this.videoDom.currentTime , this.videoDom.readyState)
// 视频播放时本地记录视频实时播放时长,视频设置了禁止拖动时执行
if(!this.isDrag){
var time = localStorage.getItem('videoProgressData')
var arr = time&&JSON.parse(time) || {}
@@ -364,10 +364,10 @@ export default {
}
// 根据视频的readyState判断下一帧是否已加载并控制loading的显示
this.isShowLoading = this.videoDom.readyState < 3;
console.log("当前缓存:"+this.videoDom.readyState)
if (this.videoDom.readyState < 3){
console.log("详细信息",this.videoDom)
console.log("卡了",this.videoDom.readyState)
// console.log("当前缓存:"+this.videoDom.readyState)
if (this.videoDom.readyState < 1){
// console.log("详细信息",this.videoDom)
// console.log("卡了",this.videoDom.readyState)
}
//if()
//console.log(this.videoDom.readyState,'this.videoDom.readyState');