From 80790ccc8b8ee6ac8db201f0f6c2d136fefd5a69 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Sat, 12 Apr 2025 08:52:59 +0800
Subject: [PATCH] Merge branch 'master' of http://139.196.74.78:10010/r/drone/command-center-dashboard
---
src/components/LiveVideo.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/components/LiveVideo.vue b/src/components/LiveVideo.vue
index 69031ef..77a7c5d 100644
--- a/src/components/LiveVideo.vue
+++ b/src/components/LiveVideo.vue
@@ -1,7 +1,7 @@
<!--视频直播-->
<template>
<div class="live-video" ref="JessibucaContainer">
- <video ref="liveVideoRef" controls autoplay muted playsinline>
+ <video ref="liveVideoRef" class="video-player" controls autoplay muted playsinline>
Your browser is too old which doesn't support HTML5 video.
</video>
</div>
@@ -102,10 +102,15 @@
});
</script>
-<style scoped>
+<style lang="scss" scoped>
.live-video{
width: 100%;
height: 100%;
color: #fff;
+ .video-player {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
+ }
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3