codec="software"
http-cache="false"
@play="videoPlay" loop="false"
enable-progress-gesture="false"
</video>
<p>{{v.name}}</p>
</view>
methods:{
videoPlay(e){
console.log(e);
let currentId = 'video'+e.currentTarget.dataset.id
this.videoContent = uni.createVideoContext(currentId)
this.video.forEach(function(item,index){
if(item.urlLine != null && item.urlLine != ''){
let temp = 'video'+ item.id
if(temp != currentId){
uni.createVideoContext(temp).pause()
}
}
})
},
}