ming 3 gadi atpakaļ
vecāks
revīzija
d152420e82

+ 2 - 2
src/views/deviceManage/powerEquip/videoEquip/checkVideo.vue

@@ -10,7 +10,7 @@
     >
     <div
       v-html="randerHtml"
-      style="width: 100%; height: 400px; background: #000"
+      style="width: 100%;  background: #000"
     ></div>
      
     </el-dialog>
@@ -55,7 +55,7 @@ export default defineComponent({
     }
     function getVideo() {
       randerHtml.value =
-        '<video id="my-video" class="video-js vjs-default-skin" controls preload="auto" style="width: 100%; height: 400px" poster loop="loop" autoplay="autoplay" ></video>'
+        '<video id="my-video" class="video-js vjs-default-skin" controls preload="auto" style="width: 100%; min-height: 400px" poster loop="loop" autoplay="autoplay" ></video>'
 
       let options = {
         bigPlayButton: false,