648540858
2022-12-27 6e4d9d9749fa7edc8956c047317ee8e6b912e1c1
Merge pull request #711 from Lyon1994/patch-1

[ fix bug ] 修复分屏播放无效的问题,这是一个json解析错误
1个文件已修改
4 ■■■■ 已修改文件
web_src/src/components/live.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web_src/src/components/live.vue
@@ -140,9 +140,9 @@
        if (res.data.code === 0 && res.data.data) {
          let videoUrl;
          if (location.protocol === "https:") {
            videoUrl = res.data.data.wss_flv.url;
            videoUrl = res.data.data.wss_flv;
          } else {
            videoUrl = res.data.data.ws_flv.url;
            videoUrl = res.data.data.ws_flv;
          }
          itemData.playUrl = videoUrl;
          that.setPlayUrl(videoUrl, idxTmp);