Here is my code.
<div>
<object>
<param name="movie" value="http://www.youtube.com/v/Cbspv1ZKR8o?version=3&hl=en_US" />
<param name="allowFullScreen" value="true" />
<param value="transparent" name="wmode" />
<param name="allowscriptaccess" value="always" />
<embed src="http://www.youtube.com/v/Cbspv1ZKR8o?version=3&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" class="cssVideo"></embed>
</object>
</div>
But the above code failed to pass the W3C Validator.
I search and try to follow these guides but I am unable to solve the problem.
Can anyone help me with this? Thanks.
Actually, you don’t need to always use the embeded code provided from youtube.
Below is a typical way to change the embedded version of the
youtubeand validate it as well.Where
nis theyoutubeid of the video.See a demo validation result
Cheers Prabhu π