A New Way To Embed YouTube Videos

July 25th, 2010 28 views Leave a comment Go to comments

If you browser supports HTML5 then youtube provides a better and easier way to embed youutube videos on your site. This new style uses <iframe> and looks like this:

< iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www . youtube com/embed/VIDEO_ID" frameborder="0">
< / iframe >




Please note this
If you are unable to view above embedded video then HTML 5 might not be supportable in your internet browser.

Amit Gupta

Hey! this is Amit Gupta (amty). By profession, I am a Software Eng. And teaching is my passion. Sometimes I am a teacher, as you can see many technical tutorials on my site, sometimes I am a poet, And sometime just a friend of friends...

  1. No comments yet.