How can i embed and Play 720p HD YouTube videos on my web pages? I've heard of using a php script but I don't know how ? please reply if you know something useful for me.
How can i embed and Play 720p HD YouTube videos on my web pages? I've heard of using a php script but I don't know how ? please reply if you know something useful for me.
It's quite easy, you have to just add &ap=%2526fmt%3D22 code. To embed a HD quality YouTube video with high definition resolution on external website or blog , simply add or append &ap=%2526fmt%3D22 code (instead of &ap=%2526fmt%3D18 to display just higher quality 480×360 video clip) to the end of movie parameter value and embed source in the YouTube embed code.
See, first copy the link from the "embed" link from the youtube video page. The code will look like:
Now you have make changes to above code , As you can see the following code is included twice:<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/VDUitQCiJ8Y&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/VDUitQCiJ8Y&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>
Replace the both with the following code :hl=en&fs=1
That's all , you have embeded YouTube HD video .ap=%2526fmt%3D22
Bookmarks