Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Sign in with OpenID
Sign In
Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

How To: Watch YouTube Movies in Full 720p HD Glory

YouTubePsst. Hey, wanna know secret? YouTube is offering 720p HD streaming on select videos.

We’ve already showed you how to hack YouTube URLs and embed codes to get higher quality video. While those tricks work on most videos, they only bump the resolution up to 480×360px — better, but still nothing close to HD.

Well, good news, as our friends over at Epicenter point out, some videos on YouTube are available in full 720p HD glory — the same format that sites like the iTunes Store and Netflix offer.

It turns out YouTube has been quietly offering HD for some time. The site began experimenting with 720p videos back in May of this year, though the selection was somewhat limited. But now that HD quality videos are more widely available on YouTube, the new option is getting more useful.

The trick to getting the hi-res versions is roughly the same as with the old, um, sort-of-hi-res option. First you have to apply the same URL hack, but this time the magic bit of code is &fmt=22. Tack that on to the end of a normal YouTube URL and, if an HD version of the video is available, then you’ll see it. If it isn’t, YouTube seems to fall back to the 480×360 video and then, if that isn’t there either, it goes back to the pixelated glory that is its trademark.

When it comes to embedding the HD videos things get a little more complicated. Here’s some generic embed code that seems to work:


<object width="480” height=”397“><param name=”movie” value=”(VIDEO EMBED URL)&ap=%2526fmt%3D22“></param><param name=”wmode” value=”window“></param><embed src=”(VIDEO EMBED URL)&ap=%2526fmt%3D22” type=”application/x-shockwave-flash” wmode=”window” width=”480” height=”397“></embed></object>

The results can be seen here, starting with the HD embed, then the old “high quality” method and finally the good old default (note that the HD video requires Flash Player 9 or better):

Naturally, our favorite YouTube download solution, the Firefox add-on Video Downloader can grab the HD mp4 files for offline viewing. It also wouldn’t be hard to modify this Greasemonkey script to load HD movies automatically (where available); just download the script and change all the lines with fmt=18 to fmt=22. And be sure to check out the How To Wiki for more YouTube downloading options.

Here’s a shot of the downloaded mp4 file playing in QuickTime:

High Res YouTube

See Also:

Post Comment Comments Permalink Print
Reddit Digg

 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year