7.4.11

Validating Vimeo's embed against Strict!

Categories:

I ran into a problem with the embed code that vimeo gives with their videos.  And although it validates against transitional I really wanted to validated it against strict.... so I came across this great site www.designlessbetter.com which gives a really simple alternative code to use.
Instead of using this ..

<object width="400" height="302">
 <param name="allowfullscreen" value="true" />
 <param name="allowscriptaccess" value="always" />
 <param name="movie" value="uri" />
 <embed src="uri" type="application/x-shockwave-flash"
allowfullscreen="true" allowscriptaccess="always" 
width="400" height="302"></embed>
</object>
You use this
<object width="400" height="302" type="application/x-shockwave-flash" data="uri">
 <param name="allowfullscreen" value="true" />
 <param name="allowscriptaccess" value="always" />
 <param name="movie" value="uri" />
</object>
He gives a really good explanation of the offending tag <embed>, 
breaks it down and comes up with a strict validating alternative.  Very grateful!

Spread The Love, Share Our Article

Related Posts

No Response to "Validating Vimeo's embed against Strict!"

Post a Comment