Showing posts with label HTML youtube video. Show all posts
Showing posts with label HTML youtube video. Show all posts

Tuesday, August 14, 2012

HTML youtube video

The easiest way to display videos (others or your own) in HTML is to use YouTube.

Playing a YouTube Video in HTML

If you want to display a video in a web page, you can upload the video to YouTube and insert HTML code to display the video in your web page.

Example - YouTube iFrame

<iframe width="420" height="345"
src="http://www.youtube.com/embed/XGSy3_Czz8k">
</iframe>

Try it yourself »

Example - YouTube Embedded

<embed
width="420" height="345"
src="http://www.youtube.com/v/XGSy3_Czz8k"
type="application/x-shockwave-flash">
</embed>

Try it yourself »