Browse Source

feat: 自动播放

huangzhichao 1 năm trước cách đây
mục cha
commit
d7a4f3ded0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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}