Selaa lähdekoodia

feat: 自动播放

huangzhichao 1 vuosi sitten
vanhempi
commit
d7a4f3ded0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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}