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 <iframe> sandbox but we have no access to its html code. I have no idea on how to make it work now.
Can anyone help please ?
I did Roi, thanks for replying
Nice idea,
Please post your request in our Feature Request forum.
Roi.
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.
Hi,
How about creating an <iframe> tag inside the html component?
Roi.