954,591 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Embed fails validation

YT spits out invalid xhtml for embed code, so have been trying to get to grips with validating pages with embedded videos. Came across this today. Any thoughts? Does it work with all browsers? I've got the modern ones - so can't test the oldies.

<object type="application/x-shockwave-flash" data="<strong>http://www.youtube.com/v/vUzTQWn-wfE&amp;hl=en_US&amp;fs=1&amp;rel=0</strong>" width="400"
 height="326"> <param name="movie" value="<strong>http://www.youtube.com/v/vUzTQWn-wfE&amp;hl=en_US&amp;fs=1&amp;rel=0</strong>" /> <param name="FlashVars" value="playerMode=embedded" /> </object>


(I just took a random video). Seems not to like Chrome?

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,794 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

For the oldies & all the other browsers you havent access to try http://www.browsershots.org
it has been down twice in three days, sorry if it is down when you look

almostbob
Posting Sensei
3,149 posts since Jan 2009
Reputation Points: 571
Solved Threads: 376
 

We don't embed anymore. The embed tag is deprecated code, and was never supported by all browsers. It never did validate.

Your code may be correct, but not supported by Chrome. Chrome is new enough that they might have left something out.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: