Many of us share and embed Youtube videos in millions everyday and we all know what a 'viral effect' is. And we also remember the Bush Shoe Throwing episode and how the first video reached 5 million views in just 5 hours! Thousands embedded that video on their blogs and websites. That is just one such example. There are so many of us who don't even know that Youtube has two versions of the same video stored: High quality (Its not HD but still a lot better) and the usual Normal/Low quality.

The default embed script is for embedding Normal/Low quality videos whereas there is no option to automatically generate High Quality code. Here is how you can do it manually:

All you have to do is insert this code at the end of the url:

"&fmt=18" for 480X360 version
"&fmt=22" for 720p version

Example: (Default embed code)

<object width="425" height="344"><param name="movie" value="https://www.youtube.com/v/_gAjv2KlgB8&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/_gAjv2KlgB8&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

High Quality Embed code:

<object width="425" height="344"><param name="movie" value="https://www.youtube.com/v/_gAjv2KlgB8&hl=en&fs=1&fmt=18"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="https://www.youtube.com/v/_gAjv2KlgB8&hl=en&fs=1&fmt=18" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>