I tried adding a Google Video to a post in my blog, using the code Google gives to embed videos.
Now this broke my XHTML validation, since their embed code contains attributes that don't validate, and it appears also to be undefined... (?)
Any suggestions on how to fix that!? Please help, thanks!! :)
My blog is over here
I notice they're using <embed> which is outdated and was never part of the standards. It's a pity, but there's probably nothing you can do except remove the google video thing.
You're absolutely right :( OBJECT on the other hand validates, I wonder why they're so backward with this...
There seem to be some plugins that allow you to place a Google Video on your posts with valid xhtml (using "object" instead), yet they're still in development and require still too much user interventions to get them to function.
We'll have to wait I guess.
Object isn't supported by all browsers. Time will help lessen that, but it will certainly be a few years before it works reliably, and even then you'll get people who can't/won't upgrade their old browsers.
fcanzoniere
Member
Posted 5 years ago #
I posted some instructions on how to add a Google Video into a WorlPress post http://wordpress.org/support/topic/89173?replies=1
I hope this helps
fcanzoniere: that's still not valid XHTML...
My I suggest my plugin instead? It's XHTML valid. :)