Pārlūkot izejas kodu

fix: 视频控制

shuisheng 2 gadi atpakaļ
vecāks
revīzija
48d781e9ad
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/utils/index.ts

+ 1 - 1
src/utils/index.ts

@@ -305,7 +305,7 @@ export const createVideo = ({
   videoEl.muted = muted;
   videoEl.playsInline = true;
   videoEl.loop = true;
-  videoEl.controls = true;
+  videoEl.controls = false;
   videoEl.setAttribute('webkit-playsinline', 'true');
   videoEl.setAttribute('x5-video-player-type', 'h5');
   videoEl.setAttribute('x5-video-player-fullscreen', 'true');