Youtube in 720p HD – viewing and embedding


Last week I mentioned that adding &fmt=18 to a Youtube URL, or &ap=%2526fmt%3D18 to the embed code URLs allows you to view and embed Youtube clips in nice looking 480×360 resolution, encoded with the H.264 codec. The result is a much better playback experience than the standard 320×240 sorenson encoded clips, but a post today on webmonkey gives us another tweak that can produce even better results for some videos.

Above is an example of Collin Cunningham’s brilliant LED investigation in high def.

By changing that fmt variable to &fmt=22 or tacking on &ap=%2526fmt%3D22 to the embed URLs—that’s right, turn it up twice past 11—Youtube will kick out compatible videos at a whopping 720p resolution.

Here’s some example embed code:

<object width=”600″ height=”362″><param name=”movie” value=”″></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”″ type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”600″ height=”362″></embed></object>

The only downside to embedding videos this way is that it really raises the bandwidth requirement for viewers. On my home connection, it can take several seconds before the video begins playback, and depending on how well my wireless is behaving, it’s not uncommon that the download rate will be slower thank playback, requiring quite a bit of pre-buffering. On the other hand, some videos are just worth the wait.

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

2 thoughts on “Youtube in 720p HD – viewing and embedding

  1. brian says:

    Don’t forget the code “&fmt=319”, which provides olfactory-interpolated playback. This features uses Google’s exclusive “RancorRank” system to assign appropriate smells across time segments of video clips. A partial playback experience is still possible even without odor-accelerated hardware – many common GPUs can be overclocked to perform a lower range of smells. This can then be complemented with “Burn ‘n Sniff” DVD+RWS media for a fuller dynamic range.

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).