Reputation: 4019
Title says it all really. Is it possible to open a youtube video in an HTML5 video player? I want to play a youtube video in a way that is more mobile friendly and was planning on uploading a thumbnail and then creating a onclick
function to open up the video in fullscreen - this is particularly important on mobile devices. I know that I could use the youtube iframe but find it a bit 'clunky' to use, especially on android. On iOS it at least autoplays the video in full screen - is there an option like this available on android?
Thanks
Upvotes: 0
Views: 264
Reputation: 25491
In general the answer is no - YouTube want you to use their player, their ads etc for obvious reasons.
There is quite a good overview of what can and can't be achieved for HTML5 players and YouTube, based on one of the biggest web players, JWPlayer, here:
I don't think you are interested in a native Android App, but if you were then there is a specific YouTube API:
Upvotes: 1