222
This commit is contained in:
@@ -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,
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user