@@ -174,6 +174,9 @@
videoClick(e) {
this.rateShow = false;
},
+ pause(e) {
+ console.log(e);
+ },
/**
* 获取课程详情
* @param {Object} id
@@ -255,6 +258,7 @@
// 这里加个判断。
if (this.playedTime < this.duration) {
this.videoContext.play();
+ this.confirmSubmitDuration();
}