20
Dec
2008



Bookmark and Share

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>




Related Articles Latest Articles
.

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

  1. Web Talk Says:

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

    Anyway the code I provided above should work.

  2. Jefbak Says:

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


Copyright © 2007-2017 | Sitemap | Privacy | Back To Top
Best screen resolution 1280x800 or higher.
Web Talk is best viewed in Firefox.

Stat