This is probably what you are looking for: Customize youtube HTML5 video
HTML5 video can be played if the user selects:
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/VIDEO_ID" frameborder="0"> </iframe>
HTML5-by-defualt video - pay attention to ?html5=1 :
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/VIDEO_ID?html5=1" frameborder="0"> </iframe>
The "HTML5" way to make a video will use the <video> . This post shows that this can be done , but this does not seem to be the best option. Show Youtube video source in HTML5 tag?
Dennis
source share