Browse Source

feat: 自动播放

huangzhichao 1 year ago
parent
commit
d7a4f3ded0
1 changed files with 1 additions and 1 deletions
  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}
         style={style}
         objectFit='fill'
         objectFit='fill'
         controls={false}
         controls={false}
-        autoplay={false}
+        autoplay
         loop
         loop
         src={adData.materialAddress}
         src={adData.materialAddress}
         poster={adData.materialCoverPic}
         poster={adData.materialCoverPic}