Oliver
2022-12-12 9736af164d1aae76b3388944d675cb21b61c755b
src/views/video/index.vue
@@ -134,7 +134,7 @@
        var hls = new Hls();
        videoPoint.getVideoPointUrl(item.platResourceId).then((res) => {
          
          if (res.code == 0) {
          if (res.code === 0) {
            hls.loadSource(res.data);
            hls.attachMedia(video);
            hls.on(Hls.Events.MANIFEST_PARSED, function () {
@@ -157,8 +157,8 @@
    getVideoPointList(data) {
      let communityId, streetId;
      if (data) {
        communityId = data.parentId;
        streetId = data.id;
        communityId = data.id;
        streetId = data.parentId;
      }
      videoPoint
        .getVideoPointList({
@@ -233,13 +233,13 @@
        let _this = this;
        const params = [
          {
            ctrlType: "realMonitorUI",
            // ctrlType: "playerWin",
            // ctrlType: "realMonitorUI",
            ctrlType: "playerWin",
            ctrlCode: this.ctrl,
            ctrlProperty: {
              displayMode: 1,
              splitNum: 1,
              channelList: [{ channelId: item.platResourceId }],
              channelList: [{ channelId: item.code }],
            },
            visible: true,
            domId: this.domId,