commit
6e4d9d9749
|
@ -140,9 +140,9 @@ export default {
|
||||||
if (res.data.code === 0 && res.data.data) {
|
if (res.data.code === 0 && res.data.data) {
|
||||||
let videoUrl;
|
let videoUrl;
|
||||||
if (location.protocol === "https:") {
|
if (location.protocol === "https:") {
|
||||||
videoUrl = res.data.data.wss_flv.url;
|
videoUrl = res.data.data.wss_flv;
|
||||||
} else {
|
} else {
|
||||||
videoUrl = res.data.data.ws_flv.url;
|
videoUrl = res.data.data.ws_flv;
|
||||||
}
|
}
|
||||||
itemData.playUrl = videoUrl;
|
itemData.playUrl = videoUrl;
|
||||||
that.setPlayUrl(videoUrl, idxTmp);
|
that.setPlayUrl(videoUrl, idxTmp);
|
||||||
|
|
Loading…
Reference in New Issue