validation issues

YouTube validation errors: a quick fix

In one of our latest projects we were asked to implement a video gallery for a famous choreographer, using videos already uploaded in YouTube.

Well, it so appears that the code provided by Youtube fails the validation test with multiple errors, mostly concerning the "embed" element.

Here is the code, as provided by YouTube.


<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/
v/FAM3tyAJ8Vw&hl=en&fs=1"></param>
<param name="allowFullScreen" value="true"></param>

Recent Comments

Forward by Dries Buytaert, Founder and Project Lead, Drupal; CTO Acquia.

Order now from:

Managing Expectations Podcast with DrupalEasy

Author Interview http://tinyurl.com/8a8nxno

We provide the most Shiny Drupal Bits & Pixels

Since Drupal 4.x