Embeding High Quality YouTube Video Into Your Website PDF Print E-mail
Written by Dan   
Thursday, 08 January 2009 12:23

 

Youtube do not automatically allow you to embed the high quality feed onto your web site, although it is easy enough to do. Take the piece of code that youtube give you for your link, and add in the following piece of code.

&ap=%2526fmt%3D18

 

The key is where to put it. The code for the bash script video is shown below, this is how it looks when you copy from youtube.

 

youtube code - before

I have changed the format to make it look more legible, this is not needed, just add in the piece of code.

Below is where to add in the code. 

 

youtube code - after 

 

The code in red will be different for each video. The code in green should be the same, or at least very similar, (sometimes it has a 1 on the end) the code in blue is what needs to be added.

Remember that you do not have to change the layout as I have done, just insert the blue code.

Enjoy

Last Updated ( Thursday, 08 January 2009 12:54 )