Embedding high resolution YouTube videos
A lot of people realize that YouTube now features the option to watch certain videos in high resolution, but what a lot of people don’t know if that you can modify the embed code used for YouTube movies so that they will play back in high resolution as well. For instance, take this embed code for example
<object width=”425″ height=”344″><param name=”movie” value=”http://www.youtube.com/v/TQc5d-A6×3E”></param><param name=”wmode” value=”transparent”></param><embed src=”http://www.youtube.com/v/TQc5d-A6×3E” type=”application/x-shockwave-flash” wmode=”transparent” width=”425″ height=”344″></embed></object>
If you add the following code to the value url and embed src, it will display the video in high resolution…
&ap=%2526fmt%3D18
Once added, the code looks something like this…
<object width=”425″ height=”344″><param name=”movie” value=”http://www.youtube.com/v/TQc5d-A6×3E&ap=%2526fmt%3D18″></param><param name=”wmode” value=”transparent”></param><embed src=”http://www.youtube.com/v/TQc5d-A6×3E&ap=%2526fmt%3D18″ type=”application/x-shockwave-flash” wmode=”transparent” width=”425″ height=”344″></embed></object>
Heres an example of it in action on one of my animations…
This is a very nifty find for people who post a lot of video blogs, podcasts, and such.
on August 25th, 2008 at 10:39 pm
[...] Original post by James [...]