Reputation: 3
So I understand based on the Youtube API docs as well as a few related questions here on Stackoverflow that auto-play is not allowed for embedded media on Safari/Chrome on mobile devices. The rationale is to ensure unsolicited downloads don't happen over cellular networks. But if a user is on Chrome in a mobile device but is on Wi-Fi (which a lot of users are on typically), this restriction of disallowing autoplay seems to still exist via the Youtube iframe API. Why is this the case? Perhaps there is something I am missing. Appreciate any advice/pointers. I was hoping to achieve auto-play on mobile web if user is on WiFi.
Upvotes: 0
Views: 251
Reputation: 2827
Actually it's not Youtube's Restrictions, it's (was) Apple's.
You just need to add the correct html tag and attribute and it works on newer devices.
Upvotes: 0