I'm struggling with playing youtube video after a countdown from javascript. It is working in chrome but not in chrome on android devices. The error is: "API can only be initiated by a user gesture". The same problem arises with an html5 video, but in this case I was able to solve the issue thanks to andreybavt answer to this question.
Asked
Active
Viewed 364 times
1
-
Isn't it restricted by youtube? I don't know the situation, but couldn't you use youtube-dl and stream from you server? – changtung Jan 31 '16 at 15:28
-
No I can't. For my use case I have to stream directly from youtube – fcicer Feb 08 '16 at 16:17