I need to make a Youtube embed autoplay on a page. Usually setting autoplay=1 would work if it was paired with mute=1 in the query string params.
This actually works fine on desktop, but it doesn't work on either Android or iPhone, no matter which browser.
Did something change with the autoplay policies which would totally disable autoplay on mobile?
Reproducable demo here - https://codepen.io/gogo_rulez/pen/YzYyXZL
<iframe width="560" height="315" src="https://www.youtube.com/embed/5UZND2KnuP4?mute=1&autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; autostop; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>