Hello,
I recently had to re-upload a youtube video, and once I updated the source code it’s not autoplaying (see below), even though the autoplay is set to “on” in the code (autoplay=1).
Anyone know how I can fix this?
Thanks!
<iframe src=”https://www.youtube.com/embed/iGv-jy0OcQI?rel=0&autoplay=1″ width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>
Hey Lknows,
It’s not the Enfold issue, you can verify this by switching to a wordpress default theme.
Google changed their autoplay policies, you can check here for more information: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
You can still do autoplay but you need to mute the video by adding &mute=1, the iframe code should look like:
<iframe width="560" height="315" src="https://www.youtube.com/embed/XWze2cCdt40?rel=0&autoplay=1&mute=1" frameborder="0" allowfullscreen></iframe>
Hope this helps.
Best regards,
Nikko
Hi Nikko,
Aha! Thank you for clarifying.
Yours,
L