Oct 23 2008

YouTube in WordPress

Category: SoftwareTeknovis @ 23:03

I have just included a YouTube video in my previous post. I really thought that this would have been a simple task in WordPress, but I was quite disappointed!

The first hurdle was actually figuring out how to paste the HTML code that YouTube supply. This was not too difficult – I just had to switch to the HTML view in WordPress.

The second hurdle appeared when I tried to validate my post. I had not realised it, but the <embed> tag is not supported in XHTML! So I modified the YouTube code as described here.

I really do not understand why YouTube are using this deprecated tag!

Tags: , , ,


« Previous Page