-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
+ 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()"
+ />
+
+
+
+
+
+
@@ -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;
+}