FAQ: How to embed high-quality youtube video to reviews


How to embed HIGH QUALITY youtube videos in CDX

First, copy the embed code from Youtube on the video page. It will look something like this:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Nc2oSCP-jmM&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/Nc2oSCP-jmM&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

What you need to do is replace a string after your video id. The video ID ends with the & sign. So, in the example above, the video ID is:

Nc2oSCP-jmM

You need to delete after this string, and replace with a new string:

Nc2oSCP-jmM&hl=en&fs=1 becomes Nc2oSCP-jmM&ap=%2526fmt%3D18

Make sure you replace this in both places in your code.

Finally, change the size of your video to the original size. In this case its 600 x 485. Your final code will look something like this. I've highlighted the changes in bold.

<object width="600" height="485"><param name="movie" value="http://www.youtube.com/v/Nc2oSCP-jmM&ap=%2526fmt%3D18"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/Nc2oSCP-jmM&ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowfullscreen="true" width="600" height="485"></embed></object>

 

 


More:
Link: Post page to del.icio.us | Digg this