소스 검색

feat: 自动播放

huangzhichao 1 년 전
부모
커밋
d7a4f3ded0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/plugin/components/custom/index.tsx

+ 1 - 1
src/plugin/components/custom/index.tsx

@@ -266,7 +266,7 @@ function Custom({
         style={style}
         objectFit='fill'
         controls={false}
-        autoplay={false}
+        autoplay
         loop
         src={adData.materialAddress}
         poster={adData.materialCoverPic}