Forum Moderators: phranque

Message Too Old, No Replies

Validate YouTube Embed Code

Is there a way?

         

myrrh

7:54 pm on Feb 11, 2009 (gmt 0)

10+ Year Member



I'm trying to validate all my pages and the YouTube code is causing some problems. Most of the errors are "there is no attribute "#*$!""

Is it likely that it's due to the Doctype? I don't know much about such subjects. Is there any way around this?

myrrh

9:00 pm on Feb 11, 2009 (gmt 0)

10+ Year Member



I should have thought about this earlier: google "how to validate youtube videos" for solutions.

pageoneresults

9:03 pm on Feb 11, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



What did you find? Probably an <iframe> solution?

myrrh

9:09 pm on Feb 11, 2009 (gmt 0)

10+ Year Member



This is one way but there are more:

<object type="application/x-shockwave-flash" data="[INSERT THE VIDEO URL ADDRESS FROM THE EMBED CODE PROVIDED HERE]" width="425" height="350"><param name="movie" value="[INSERT THE VIDEO URL ADDRESS FROM THE EMBED CODE PROVIDED HERE]" /><param name="FlashVars" value="playerMode=embedded" /><p>SOME ALTERNATIVE TEXT HERE For ACCESSIBILITY</p></object>