on-internet
← Community

How To Embed YouTube Video on Android using Phonegap

Stack Overflow ·

I've been trying to embed YouTube videos inside my phonegap Android app using the new YouTube iframe API. The embed itself working and a YouTube window pops in with the preview picture and the play button in the center. The problem is when I click the button to start streaming the video the embed doesn't play the video - just loads the preview picture in and does nothing. The code used is below if it helps. & lt;iframe title="YouTube video player" class="YouTube-player" type="text/HTML" width="320" height="194" src="http://www.youtube.com/embed/xxxxxxxx" frameborder="0"></iframe> I read from a

Comments

Sign in or sign up to comment and upvote.

No comments yet.