瀏覽代碼

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}