What does iPhone use to play Youtube videos on browser?
I know that <video>
tag uses native quick time to play videos. Then I know that iPhone doesn't support flash so it can't play YouTube video directly. I used this videojs-youtube library to embed the YouTube video using it's url and this is the result html elements:
<div>
<iframe>
#document
</iframe>
</div>
Inside the #document
is a whole new html of the actual youtube video. If it doesn't support flash, what technology does it use to play the video even if the code is using an iframe element?
Also, is there a way to/how do I programatically close (via javascript) the YouTube video from full screen?