| | |
| | | <div class="v-name-block"> |
| | | <div |
| | | class="video-name" |
| | | :class="{ current: curVideo.id == video.id }" |
| | | :class="{ current: curVideo.GroupID == video.GroupID }" |
| | | @click="checkVideo(video, index)" |
| | | v-for="(video, index) in curRoomVideos" |
| | | :key="video.id" |
| | |
| | | } else { |
| | | this.videoArrs.forEach((v, i) => { |
| | | this.$refs[`player_${v.id}`][0].seek(val); |
| | | // this.$refs[`player_${v.ID}`][0].play(); |
| | | if (i == 0) { |
| | | let curT = this.$refs[`player_${v.id}`][0].getCurrentTime(); |
| | | } |
| | |
| | | let _this = this; |
| | | _this.curVideo = cmd; |
| | | _this.curCamera = _this.curVideo.CameraPosition; |
| | | |
| | | _this.$nextTick(() => { |
| | | const a = _this.$refs[`player_${_this.curVideo.id}`] |
| | | const b = _this.$refs[`player_${_this.curVideo.id}`][0] |
| | | _this.$refs[`player_${_this.curVideo.id}`][0].init(); |
| | | }); |
| | | }, |
| | |
| | | _this.curRoomVideos = _this.allCurVideos.filter((item) => { |
| | | return item.IsCab == "0"; |
| | | }); |
| | | |
| | | _this.$nextTick(() => { |
| | | _this.$refs[`player_${_this.curVideo.id}`][0].init(); |
| | | let arr = _this.maxVideoTime.split(":"); |
| | |
| | | _this.curCamera = _this.popDownArr[0].CameraPosition; |
| | | } |
| | | }); |
| | | _this.popDownArr; |
| | | }, |
| | | renderLabelOpts() { |
| | | let _this = this; |
| | |
| | | } |
| | | }); |
| | | }); |
| | | _this.popDownArr; |
| | | }, |
| | | checkVideo(video, index) { |
| | | this.refreshCurVideoLabel(video); |
| | |
| | | (item) => video.GroupID == item.GroupID |
| | | ); |
| | | this.$nextTick(() => { |
| | | const a = this.$refs[`player_${this.curVideo.id}`] |
| | | this.$refs[`player_${this.curVideo.id}`][0].init(); |
| | | }); |
| | | }, |
| | |
| | | `calc(` + 100 / guid + `%)`; |
| | | this.$refs[`gridVideoItem_${i}`][0].style.height = |
| | | `calc(` + 100 / guid + `%)`; |
| | | // this.$refs["playerWrap"].offsetHeight / guid + "px"; |
| | | } |
| | | // console.log(this.$refs[`player_${this.videoArrs[index].ID}`]); |
| | | }); |
| | | }, |
| | | cancelLabelChecked() { |