修复视频播放bug
This commit is contained in:
@@ -334,13 +334,14 @@
|
||||
},
|
||||
})
|
||||
.then(async (res) => {
|
||||
|
||||
console.log('获取播放凭证666', res.video);
|
||||
this.reaquestFlag = false
|
||||
if (this.$platform == 'ios') {
|
||||
if (this.currentVideo.type == 1 && res.video.m3u8Url == null || this.currentVideo
|
||||
if (res.video.type == 1 && res.video.m3u8Url == null || res.video
|
||||
.type == 1 && res.video.m3u8Url == '') {
|
||||
// 只存在私有加密
|
||||
this.show = true
|
||||
this.UnlockChangeVideo() // 解锁按钮
|
||||
uni.showModal({
|
||||
content: '抱歉,苹果手机不支持此加密视频格式,您可以在安卓端观看本视频',
|
||||
confirmText: '知道了',
|
||||
|
||||
Reference in New Issue
Block a user