After implementing the Youtube API to autoplay a video, I encountered an issue where it only worked on PCs and not on mobile devices. Further investigation revealed that autoplay is disabled on mobile devices.
Now the question arises, is there a way to detect if autoplay is disabled? Or can the video be forced to show the Youtube play button if the video is in state -1?
For example:
if(event.data == -1) {
// show play button
}