Autoplay in Html Component

Hi,

Recently Chrome’s autoplay policy changed. Now the Wix Html Component (read all iframes) won’t play any audio unless the user actually clicks it. This completely shut off the possibility to play with audio using a Wix Component + Wix Html Component (ie.: play audio when user clicks a button, play audio when page loads).

Now the iframe must receive permission to do it in the form of an allow=“autoplay” in the html code when it’s created. I know that the Wix Html Component is basically an

Can anyone help please ?

1 Like

Hi,
How about creating an

Hi Roi, thanks for replying,

I will try it but I think it won’t work because it would be an iframe inside another iframe, and in this case the first iframe (Wix Html Component) would have to have the permission to autoplay in order to be able to pass it to the second one.

Maybe the proper solution would be having and ‘‘allowAutoPlay’’ function for the Html Component just like the ‘‘allowFullScreen’’ one.

Nice idea,
Please post your request in our Feature Request forum .
Roi.

I did Roi, thanks for replying