Parcourir la source

fix: 视频控制

shuisheng il y a 2 ans
Parent
commit
48d781e9ad
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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');