Valid YouTube Embedding

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).

In

Talk to me!

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from David Artiss

Subscribe now to keep reading and get access to the full archive.

Continue reading