修复视频播放bug

This commit is contained in:
@fawn-nine
2024-10-15 09:50:59 +08:00
parent f8ca3fd8c3
commit b085aafbf3

View File

@@ -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: '知道了',