修改
This commit is contained in:
parent
9fd524be32
commit
e0ed1e0354
@ -102,14 +102,13 @@
|
||||
},
|
||||
//视频播放出错
|
||||
videoerror(e) {
|
||||
console.log(e)
|
||||
// this.$refs.uToast.show({
|
||||
// title: '暂无视频',
|
||||
// type: 'error',
|
||||
// duration: '2000'
|
||||
// })
|
||||
// this.videoerroshow = false
|
||||
// this.videoshow = false
|
||||
this.$refs.uToast.show({
|
||||
title: '暂无视频',
|
||||
type: 'error',
|
||||
duration: '2000'
|
||||
})
|
||||
this.videoerroshow = false
|
||||
this.videoshow = false
|
||||
},
|
||||
//novideoplay未购买
|
||||
novideoplay() {
|
||||
|
||||
@ -42,10 +42,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<u-popup v-model="videoshow" mode="center" closeable @close='videoshowfalse'>
|
||||
<view>
|
||||
<video v-if="videoshow" :src="baseurl+videoitem.itemDirectoryUrl" @timeupdate='videotimeupdate'
|
||||
:initial-time='videoitem.watchTime' @error='videoerror'></video>
|
||||
</view>
|
||||
<video v-if="videoshow" :src="baseurl+videoitem.itemDirectoryUrl" @timeupdate='videotimeupdate'
|
||||
:initial-time='videoitem.watchTime' @error='videoerror' :custom-cache="false"></video>
|
||||
</u-popup>
|
||||
<u-toast ref="uToast" />
|
||||
</view>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user