视频首页

This commit is contained in:
Mr.jiang 2024-08-01 13:51:46 +08:00
parent a4e032b526
commit 303fe82429
1 changed files with 5 additions and 5 deletions

View File

@ -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) {//