How to embed YouTube Videos in HD format

youtubehd-vertical

YouTube.com is now offering two video formats on their site, standard and high def (HD), but they only allow an option for you to embed the standard version. This tutorial is going to show you how to get maximum quality and take advantage of the HD videos that you embed in your blog posts or social networking profiles.

Step 1: Copy this code and paste it to wherever you intend to embed the video:

<object width="425" height="344">
<param value="http://www.youtube.com/v/YOURVIDEOCODEHERE&ap=%2526fmt%3D22" name="movie" />
<param value="window" name="wmode" />
<param value="true" name="allowFullScreen" />
<embed width="425" height="344" wmode="window" allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.youtube.com/v/YOURVIDEOCODEHERE&ap=%2526fmt%3D22"></embed>
</object>

Step 2: Grab the direct link to your video. In case you’ve never done this before, it can be found to the right of the video player on YouTube or from your browser’s address bar.

gaburl

Step 3: copy the alphanumeric URL varialbe at the end of the link you grabbed in step 2.

urlvars

Step 4: The finishing touch involves making a simple change to embed’s URL source code to direct it to the HD version. To do this, you simply need to paste what you copied in step 3 into the part between /v/ and the & symbol in the embed code. I’ve labeled this “YOURVIDEOCODEHERE” in the embed code in Step 1.

Normal quality:


HD Quality: