试图在Google上自动播放视频,但我无法

时间:2018-11-05 11:04:28

标签: video plugins slider autoplay

这是我的代码:

<video style="object-fit: cover; 
background-size: cover; width: 100%; height: 100%; 
transition: none 0s ease 0s; text-align: inherit; 
line-height: 0px; border-width: 0px; margin: 0px; 
padding: 0px; letter-spacing: 0px; font-weight: 400; 
font-size: 18px; display: block; visibility: inherit; 
opacity: 1;" class="" loop="" preload="auto">

    <source src="https://italianbeauty.com.br/wp-content/
    uploads/2018/11/TV-New-Impact-1.mp4" type="video/mp4" 
    style="transition: none 0s ease 0s; text-align: inherit; 
    line-height: 0px; border-width: 0px; margin: 0px; 
    padding: 0px; letter-spacing: 0px; font-weight: 400; 
    font-size: 16px;">

</video>

我需要插入:

 oncanplay="this.muted=true" 

之间:

<video(...)

...和...

(...)style

...但是我不能,因为我不能用HTML编辑它,因为这是Slider Revolution为wordpress制作的插件。在Firefox上,它可以自动播放,但在Chrome上则不能。

0 个答案:

没有答案