广告显示
This commit is contained in:
@@ -348,12 +348,9 @@ export default {
|
||||
},
|
||||
seek(num) {
|
||||
this.$nextTick(() => {
|
||||
//#ifdef H5
|
||||
|
||||
this.$refs.myVideo.seek(num);
|
||||
//#endif
|
||||
//#ifndef H5
|
||||
this.videoContext.seek(num);
|
||||
//#endif
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
@@ -396,12 +393,12 @@ export default {
|
||||
this.play_();
|
||||
this.succes = true;
|
||||
}
|
||||
//#ifdef H5
|
||||
this.$refs.myVideo.seek(data.detail.value); //获取秒数
|
||||
//#endif
|
||||
//#ifndef H5
|
||||
this.videoContext.seek(data.detail.value); //获取秒数
|
||||
//#endif
|
||||
|
||||
this.$nextTick(()=>{
|
||||
this.$refs.myVideo.seek(data.detail.value); //获取秒数
|
||||
})
|
||||
|
||||
|
||||
},
|
||||
|
||||
//拖动中
|
||||
|
||||
Reference in New Issue
Block a user