I use embedded YouTube, not only in this Blog, but on other sites as well. Recently this has been coming back to bite me as the code that YouTube supply for embedding is not, erm, valid. Or rather it doesn’t validate according to W3C rules.

Which means my sites have started falling foul of various on-line checkers which once were happy to say I had good sites.

Anyway, a touch of Googling and I found my answer – a piece of code that will not break validation. Hooyah. If you embed YouTube videos then this is recommended. Oh, and it apparently works with Google Video as well.

Meantime, YouTube have granted me a Directors account (cue diabolical laughter).

About David Artiss

David is the owner and main author of Artiss.co.uk. By day he's a developer for a well known UK retailer, by night he looks after this site and writes WordPress plugins.

Loading Facebook Comments ...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

No Trackbacks.

Post Navigation

Top
%d bloggers like this: