From 1adcd32e43c8d513568e9ad64045c74ff956540d Mon Sep 17 00:00:00 2001 From: lin <648540858@qq.com> Date: Tue, 26 May 2026 15:31:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BD=E6=A0=87=E5=BD=95?= =?UTF-8?q?=E5=83=8F=E5=9B=9E=E6=94=BE=E9=A1=B5=E9=9D=A2BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/views/common/jessibuca.vue | 5 + web/src/views/device/channel/record.vue | 288 +++++++++++++----------- 2 files changed, 162 insertions(+), 131 deletions(-) diff --git a/web/src/views/common/jessibuca.vue b/web/src/views/common/jessibuca.vue index db56377e0..9d283d45b 100755 --- a/web/src/views/common/jessibuca.vue +++ b/web/src/views/common/jessibuca.vue @@ -273,6 +273,11 @@ export default { }, setPlaybackRate: function() { + }, + resize(width, height) { + if (jessibucaPlayer[this._uid]) { + jessibucaPlayer[this._uid].resize() + } } } } diff --git a/web/src/views/device/channel/record.vue b/web/src/views/device/channel/record.vue index 8aba21a26..32ea17cbd 100755 --- a/web/src/views/device/channel/record.vue +++ b/web/src/views/device/channel/record.vue @@ -50,7 +50,10 @@
-
+
-
+
+
{{ showTimeValue }}
-
{{ showTimeValue }}
-
-
- -
-
- - - - - - - - - - +
+
+
{{ playSpeed }}X - - {{ item }}X - - - -
-
-
-
- + class="record-play-control-item iconfont icon-list" + title="列表" + @click="sidebarControl()" + /> {{ playerLabel }} - - Jessibuca - WebRTC - H265Web - - - - + class="record-play-control-item iconfont icon-camera1196054easyiconnet" + title="截图" + @click="snap()" + /> + + +
+
+ +
+
+ + {{ playerLabel }} + + Jessibuca + WebRTC + H265Web + + + + +
@@ -444,8 +451,10 @@ export default { const playerHeight = this.$refs.recordVideoPlayer.playerHeight screenfull.request(document.getElementById('playerBox')) screenfull.on('change', (event) => { - this.$refs.recordVideoPlayer.resize(playerWidth, playerHeight) this.isFullScreen = screenfull.isFullscreen + if (this.$refs.recordVideoPlayer && this.$refs.recordVideoPlayer.resize) { + this.$refs.recordVideoPlayer.resize(playerWidth, playerHeight) + } }) this.isFullScreen = true }, @@ -674,14 +683,31 @@ export default { } .player-option-box { - height: 50px + height: 95px; +} + +.player-option-box-bottom { + width: 100%; + position: absolute; + bottom: 0; } .time-line-show { position: relative; color: rgba(250, 249, 249, 0.89); - left: calc(50% - 85px); - top: -72px; + top: -24px; + height: 0; + width: stretch; + float: left; + text-align: center; text-shadow: 1px 0 #5f6b7c, -1px 0 #5f6b7c, 0 1px #5f6b7c, 0 -1px #5f6b7c, 1.1px 1.1px #5f6b7c, 1.1px -1.1px #5f6b7c, -1.1px 1.1px #5f6b7c, -1.1px -1.1px #5f6b7c; } +.play-box { + width: 100%; aspect-ratio: 16 / 9; + background-color: #000000; + height: calc(100vh - 220px); +} +.play-box-fullscreen { + height: 100vh !important; +}