SyuanYu hace 8 meses
padre
commit
78e5ccc718
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/views/RtspStream.vue

+ 2 - 0
src/views/RtspStream.vue

@@ -30,6 +30,7 @@ onMounted(() => {
       class="video-js vjs-default-skin"
       class="video-js vjs-default-skin"
       autoplay
       autoplay
       muted
       muted
+      playsinline
       preload="auto"
       preload="auto"
     ></video>
     ></video>
   </div>
   </div>
@@ -43,6 +44,7 @@ onMounted(() => {
   margin: 0;
   margin: 0;
   padding: 0;
   padding: 0;
   transform: rotate(180deg);
   transform: rotate(180deg);
+  background-color: #000;
 
 
   video {
   video {
     position: absolute;
     position: absolute;