0

Impossible to autoplay youtube videos in an Android webview by using youtube iframe API. Does someone knows if that is possible?

1 Answers1

0

As already mentioned in Mobile Considerations, functions and parameters such as autoplay, playVideo(), loadVideoById() won't work in all mobile environments due to the restrictions wherein HTML5 <video> element only allows playback to take place if it's initiated by a user interaction.

You may, however, try the given suggestions in the following SO posts and might work for you:

Hope that helps!

Community
  • 1
  • 1
Teyam
  • 7,686
  • 3
  • 15
  • 22