YouTube HD Videos On Your Blog

Awhile back, YouTube started offering HD video quality for some of the videos. It lets you view them in a larger window in much better quality. The only problem, is that the embed code only lets you embed the lower quality video within blog posts. Luckily, there is a fix for embedding the HD videos.

When adding an HD video to your blog or website, you need make a small change to the embed code. Here is a look at the normal code, followed by the modified code.

Original Embed Code

<object width=”480″ height=”295″><param name=”movie” value=”http://www.youtube.com/v/k_PbFDsyKQU&hl=en&fs=1″></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/k_PbFDsyKQU&hl=en&fs=1″ type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”480″ height=”295″></embed></object>

Modified Code For HD

<object width=”582″ height=”368″><param name=”movie” value=”http://www.youtube.com/v/k_PbFDsyKQU&hl=en&fs=1&ap=%2526fmt%3D22“></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube.com/v/k_PbFDsyKQU&hl=en&fs=1&ap=%2526fmt%3D22” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”582″ height=”368″></embed></object>

Notice the bold section of the code? This is what you must add to the code in order to post a video in HD quality. You can also make changes to the window size depending on the video.

Here is what an embedded video will look like in HD quality:

So There You Have It

A quick tip to embed YouTube HD videos in your blog posts. It sure makes the quality look a lot better than the grainy videos we have grown used to.

Posted By: Justin Wright

This post was published by Justin Wright on January 22nd, 2009.

Free WordPress Video

Leave Us Some Feedback