Commit aa71a33c382a0b5aaf679776e312c5afb1be2269

Authored by Lyon1994
Committed by GitHub
1 parent 276f077d

[ fix bug ] 修复分屏播放无效的问题,这是一个json解析错误

web_src/src/components/live.vue
... ... @@ -140,9 +140,9 @@ export default {
140 140 if (res.data.code === 0 && res.data.data) {
141 141 let videoUrl;
142 142 if (location.protocol === "https:") {
143   - videoUrl = res.data.data.wss_flv.url;
  143 + videoUrl = res.data.data.wss_flv;
144 144 } else {
145   - videoUrl = res.data.data.ws_flv.url;
  145 + videoUrl = res.data.data.ws_flv;
146 146 }
147 147 itemData.playUrl = videoUrl;
148 148 that.setPlayUrl(videoUrl, idxTmp);
... ...