forked from drone/command-center-dashboard

shuishen
2025-04-16 115bd56702e2ce09b7a7c1e6bb5e93e2f6174cdf
src/components/LiveVideo.vue
@@ -1,7 +1,7 @@
<!--视频直播-->
<template>
  <div class="live-video" ref="JessibucaContainer">
    <video ref="liveVideoRef" class="video-player" controls autoplay muted playsinline>
    <video ref="liveVideoRef" class="video-player" :controls="props.controls" autoplay muted playsinline>
      Your browser is too old which doesn't support HTML5 video.
    </video>
  </div>
@@ -15,6 +15,10 @@
    type: String,
    default: '',
  },
   controls:{
      type:Boolean,
      default: true
   }
});
let liveVideoRef = ref(null);