222
This commit is contained in:
@@ -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://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://59.110.212.44:9200/pb/";
|
||||||
// baseUrl = "http://192.168.110.100:9100/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/"; // 张川川
|
// baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川
|
||||||
// 生产环境11
|
// 生产环境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 = "http://59.110.212.44:9100/pb/";
|
||||||
// baseUrl = "https://testapi.nuttyreading.com/";
|
// baseUrl = "https://testapi.nuttyreading.com/";
|
||||||
// baseUrl = "https://api.nuttyreading.com/"; //1
|
baseUrl = "https://api.nuttyreading.com/"; //1
|
||||||
// baseUrl = "ws://twin-ui.com:6001/";
|
// baseUrl = "ws://twin-ui.com:6001/";
|
||||||
// socketUrl = "ws://twin-ui.com:6001/";
|
// socketUrl = "ws://twin-ui.com:6001/";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -354,7 +354,7 @@ export default {
|
|||||||
// await this.playVideo();
|
// await this.playVideo();
|
||||||
// }
|
// }
|
||||||
console.log(this.firstTime, "这是第一次播放时长");
|
console.log(this.firstTime, "这是第一次播放时长");
|
||||||
await that.getVideo();
|
// await that.getVideo();
|
||||||
}
|
}
|
||||||
this.isSetFirstTime = true;
|
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 = {
|
var playerOptions = {
|
||||||
@@ -890,11 +890,11 @@ export default {
|
|||||||
playerOptions = {
|
playerOptions = {
|
||||||
...playerOptions,
|
...playerOptions,
|
||||||
"playauth": this.videoData.playAuth, // 必选参数,参数值可通过调用GetVideoPlayAuth接口获取。
|
"playauth": this.videoData.playAuth, // 必选参数,参数值可通过调用GetVideoPlayAuth接口获取。
|
||||||
format:'mp4',
|
format:'m3u8',
|
||||||
// "encryptType": 1, // 必选参数,当播放私有加密流时需要设置本参数值为1。其它情况无需设置。
|
// "encryptType": 1, // 必选参数,当播放私有加密流时需要设置本参数值为1。其它情况无需设置。
|
||||||
"playConfig": {
|
"playConfig": {
|
||||||
"EncryptType": 'HLSEncryption',
|
"EncryptType": 'HLSEncryption',
|
||||||
"MtsHlsUriToken": this.videoData.MtsHlsUriToken,
|
"MtsHlsUriToken": this.videoData.mtsHlsUriToken,
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user