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