视频首页
This commit is contained in:
parent
a4e032b526
commit
303fe82429
|
@ -591,11 +591,11 @@
|
|||
this.filePath=item.filePath;
|
||||
this.contentVideo=item.content;
|
||||
this.videoId=item.id;
|
||||
const videoContext = uni.createVideoContext('myVideo', this);
|
||||
videoContext.src = this.filePath; // 设置视频源
|
||||
setTimeout(()=>{
|
||||
videoContext.play(); // 播放视频
|
||||
},100)
|
||||
// const videoContext = uni.createVideoContext('myVideo', this);
|
||||
// videoContext.src = this.filePath; // 设置视频源
|
||||
// setTimeout(()=>{
|
||||
// videoContext.play(); // 播放视频
|
||||
// },100)
|
||||
this.$refs.pinglun.open("center")
|
||||
},
|
||||
swichMenu(index,id) {//视频导航
|
||||
|
|
Loading…
Reference in New Issue