I have developed an application where the user can set videos on a web page: - They can specify a Youtube URL OR - They can upload a video
Depending on which option
[upgraded to answer per request]
Autoplay on most mobile platforms (Android, iOS) gets blocked to avoid poor user experiences - video should only play following a user action. You can usually work around it by triggering the play() on another event (eg the onloaded event)