Embedding Hulu Videos as Valid XHTML 1.0

Album Cover: Eyes Open

"It's hard to argue when you won't stop making sense."
Snow Patrol / Hands Open

Posted on December 08, 2007 4:27 PM in Web Development
Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

Well, it looks like Hulu has fallen into the unfortunate category of video sites that don't present valid XHTML 1.0 embedding code to their users (I've yet to seen a video site that does, actually). So in the same vein as Embedding YouTube Videos as Valid XHTML 1.0 and Embedding Dailymotion Videos as Valid XHTML 1.0, I give you valid Hulu embed code:

<object type="application/x-shockwave-flash" width="520" height="295" data="http://www.hulu.com/embed/lNgctYiJOZ5H3TUU3kssd6cBGUMDujqe"><param name="movie" value="http://www.hulu.com/embed/lNgctYiJOZ5H3TUU3kssd6cBGUMDujqe" /><param name="wmode" value="transparent" /></object>

And here's a look at the final result:

Comments

val on March 12, 2009 at 5:10 PM:

Thanks a bundle!

Permalink

Post Comments

If you feel like commenting on the above item, use the form below. Your email address will be used for personal contact reasons only, and will not be shown on this website.

Name:

Email Address:

Website:

Comments:

Check this box if you hate spam.