HTML5 YouTube Video

How to play YouTube video in HTML5?

+7
html5 youtube
source share
5 answers

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?

+7
source share

You can also see how YouTube does this, select: http://www.youtube.com/html5

+6
source share

If you use safari, there is a YouTube5 extension that will make all YouTube videos in html5 video.

http://www.verticalforest.com/2010/06/09/youtube5-html5-converter-for-youtube-videos/

Supports videos that are not on YouTube (video with ads, etc.)

0
source share

You can easily embed a video by right-clicking on YouTube, copying the embedded video option and pasting it into your html wherever you want it to appear. The problem with this is that you will not control what is shown in the embed code, except for the clip of interest, i.e. advertises playlists, etc. / p>

0
source share

http://html5demos.com/video#view-source - an example of using html5 to play videos.

-one
source share

All Articles