Skip to content


Hulu Embed Wordpress Plugin

This plugin simplifies the effort involved in embedding videos for TV shows and movies from Hulu.com into your wordpress blog.

Instructions

To use the plugin, copy it to your wp-content/plugins directory and activate in the wordpress admin.

To embed a video, simply go to http://www.hulu.com/ and select the TV show or Movie that you want to embed and select the “Embed” icon next to the video.  In the embedding code there is a URL that looks simliar to the following:

http://www.hulu.com/embed/HoHzWbOm9DB0lMa8oT_AYg

To embed this URL simply enter a tag using the following format:

[hulu:url width height]

where width and height are optional.  So the URL above would be:

[hulu:http://www.hulu.com/embed/HoHzWbOm9DB0lMa8oT_AYg]

The width and height defaults to 510×295.

Support

For support, go to the support forums.

Credits

This plugin is inspired by the wonderful and amazingly clever EasyTube plugin.

Download

You can download Hulu Embed from the Wordpress plugins site.

Download Hulu Embed

Posted in Software, Wordpress.

Tagged with , , .


6 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Gecedelisi says

    Hi.
    I think most important issue that embeding hulu episodes don’t
    have fullscreen mode so if you can imlement this option to the plugin
    probably popup fullscreen :) that would be nice.

    Cheers..

  2. admin says

    Although i’m not sure this is possible, i’ll take a look at it and see what can be done.

    I’ll post an update if and when i’m able to work a solution.

  3. Steve Portigal says

    I think it’s set to do height width instead of width height as you describe. I could be wrong. It doesn’t actually scale, though, it just crops. I can do that by editing the embed code, too.

  4. Suzie says

    Very nice work, it always throws me off how to embed videos, and I figured out YouTube, but I could never get hulu to work. Thanks.

  5. Kurt McKee says

    I’ve rewritten your script using a more advanced regular expression and the PHP preg_replace_callback function, and it now outputs XHTML 1.0 Strict compliant tags and allows for fullscreening the video. If you send me an email at the address provided in this comment I’ll send you the changes as a text file.

Continuing the Discussion

  1. Installed New Plugins! : suziehall.com linked to this post on February 2, 2009

    [...] addition to that, I added the Hulu Embed plugin, since I can’t figure out how to do it by myself [...]



Some HTML is OK

or, reply to this post via trackback.