正常视频播放事件

This commit is contained in:
nisen
2023-11-16 17:57:53 +08:00
parent 381fcd9130
commit 6f05888db7
2 changed files with 10 additions and 2 deletions

View File

@@ -568,6 +568,12 @@
getSysTypeTree:'sysType/getSysTypeTree',
loadSysTypes:'sysType/loadSysTypes'
}),
// 没有写播放时间
onPlayerPlay() {
this.playerBoxShow = false;
this.isAppendTime=true;
this.appendStudyTime();//启动追加学习时长
},
convertTypeName(code){
if(!code){return '';}
return this.sysTypeMap.get(code);
@@ -945,7 +951,8 @@
return false;
})
this.scrollInfo.scrollLeft=len*this.scrollItemWidth+len*6;
if(con.contentType>20){
//50事scorm项目单独计时
if(con.contentType>20 && con.contentType !== 50){
let $this=this;
//用户的学习时长,音视频课程学习,单独的处理,不再追加学习时长
this.isAppendTime = false;