mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
课程笔记
This commit is contained in:
@@ -257,6 +257,10 @@ export default {
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
notePlay:{//回到笔记时间点播放
|
||||
type: Number,
|
||||
default: null,
|
||||
},
|
||||
isDrag:{
|
||||
type: Boolean,
|
||||
default: null,
|
||||
@@ -535,6 +539,13 @@ export default {
|
||||
this.$emit('onPlayerEnded', {})
|
||||
}
|
||||
},
|
||||
notePlay: function(val) {
|
||||
if(val) {
|
||||
this.updateProgressBySetTime(val);
|
||||
this.isPlaying = true;
|
||||
this.videoDom.play();
|
||||
}
|
||||
},
|
||||
src: function () {
|
||||
// 当视频地址变更时,重载视频
|
||||
this.videoDom.load();
|
||||
|
||||
Reference in New Issue
Block a user