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

@@ -11,13 +11,13 @@ if (process.env.NODE_ENV === 'development') {
// baseUrl = "https://api.nuttyreading.com/"; // 线上正式
baseUrl = "https://api.nuttyreading.com/"; // 线上正式
// baseUrl = "http://101.201.146.165:8088/App-EH/"; // 一路健康APP线上正式
baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑
// baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑
// baseUrl = "http://59.110.212.44:9200/pb/";
// baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑
@@ -32,10 +32,10 @@ if (process.env.NODE_ENV === 'development') {
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
// 生产环境11
baseUrl = "http://192.168.110.110:9200/pb/"; //磊哥
// baseUrl = "http://192.168.110.110:9200/pb/"; //磊哥
// baseUrl = "http://59.110.212.44:9100/pb/";
// baseUrl = "https://testapi.nuttyreading.com/";
// baseUrl = "https://api.nuttyreading.com/"; //1
baseUrl = "https://api.nuttyreading.com/"; //1
// baseUrl = "ws://twin-ui.com:6001/";
// socketUrl = "ws://twin-ui.com:6001/";
}

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,
},