This commit is contained in:
guilinlan jin
2024-07-19 09:08:54 +08:00
parent 04e05a4100
commit 87b22a05af
2 changed files with 8 additions and 8 deletions

View File

@@ -354,7 +354,7 @@ export default {
// await this.playVideo();
// }
console.log(this.firstTime, "这是第一次播放时长");
await that.getVideo();
// await that.getVideo();
}
this.isSetFirstTime = true;
},
@@ -758,7 +758,7 @@ export default {
}
});
console.log('this.currentVideoList at line 456111111111111111111111:', this.videoList)
console.log('这是查看是否获取到hlstoken', this.videoData.mtsHlsUriToken,this.videoData)
var playerOptions = {
@@ -890,11 +890,11 @@ export default {
playerOptions = {
...playerOptions,
"playauth": this.videoData.playAuth, // 必选参数参数值可通过调用GetVideoPlayAuth接口获取。
format:'mp4',
format:'m3u8',
// "encryptType": 1, // 必选参数当播放私有加密流时需要设置本参数值为1。其它情况无需设置。
"playConfig": {
"EncryptType": 'HLSEncryption',
"MtsHlsUriToken": this.videoData.MtsHlsUriToken,
"MtsHlsUriToken": this.videoData.mtsHlsUriToken,
},