shaogen1995 11 bulan lalu
induk
melakukan
5bb710fe5b
1 mengubah file dengan 9 tambahan dan 1 penghapusan
  1. 9 1
      Code/src/pages/B1more/S3goods/HotInfo/index.tsx

+ 9 - 1
Code/src/pages/B1more/S3goods/HotInfo/index.tsx

@@ -27,7 +27,15 @@ function HotInfo({ closeFu, info }: Props) {
         {info.type === 'img' ? (
           <img src={baseURL + info.inSrc} alt='' />
         ) : info.type === 'video' ? (
-          <video muted ref={videoRef} src={baseURL + info.inSrc} controls></video>
+          <video
+            ref={videoRef}
+            src={baseURL + info.inSrc}
+            controls
+            playsInline
+            muted
+            webkit-playsinline='true'
+            x5-video-player-type='h5'
+          ></video>
         ) : (
           <iframe
             title={info.name}