20
Dec
2008

youtubeA few days ago I posted a nice hack which lets you watch 720p high resolution YouTube videos. Sadly this hack doesn’t work if you are a webmaster and you want to embed a HD YouTube video on your blog. Let’s find out how we can embed these new high resolution (HD) videos in your blog!

Well, long story short. If you want to embed a HD YouTube video, it is just sufficient to add this piece of code &ap=%2526fmt%3D22 at the end of the movie parameter code. Let’s see an example provided by Mydigitallife. What follows is a code which lets you embed a video in your blog. The first unmodified code lets you watch a regular video, while the second hacked code lets you watch the same video in 720p resolution. Mind you, not all videos are available in HD resolution, so this hack just works for those videos which have been originally uploaded in HD resolution.

First unmodifies code

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

Second hacked code (it’s the same video as the one above except for appended code)

<object width=”425″ height=”344″><param name= ”movie” value= ”http://www.youtube.com/v/ zlfKdbWwruY&hl =en&fs=1&rel=0&ap=%2526fmt%3D22“></param><param name= ”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src= ”http://www.youtube.com /v/zlfKdbWwruY&hl=en&fs=1&rel=0&ap=%2526fmt%3D22” type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”425″ height=”344″></embed></object>



Tags: hack, HD, video


If you're new to Webtlk.com, you may want to subscribe to its RSS feed or press to bookmark it. Thanks a lot!


Related Articles Latest Articles

If you can not find what you are looking for, you might want to try Google Advanced Search and get thousands of results, specifically selected for you.

Google Advanced Search
.

2 Comments to “How to embed 720p YouTube videos in your blog”

  1. Jefbak Says:

    I don’t have the &rel=0 in my embed code. it ends at en&fs=1
    ??

  2. Web Talk Says:

    Try This: &ap=%2526fmt%3D18

    Anyway the code I provided above should work.

Leave a Comment

If you want to show an image next to your comments, get your gravatar now!

XHTML - You can use the following tags:  <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv Enabled



All contents are licenced under a Creative Commons Licence.
Best screen resolution 1280x800 or higher.
Web Talk is best viewed in Firefox.