Embed Ellentube Videos in WordPress with Shortcode

Ellen DeGeneres launched Ellentube late last year to showcase their own daytime programming and selected user-submitted content.

Despite having one of the largest and most popular TV-oriented channels on YouTube , they’ve sensibly decided to take ownership of the majority of their content, with DeGeneres saying that the website will host content from the show “that you won’t see anywhere else”.

Ellentube serves pre-roll video advertising on top of a feature-rich video player from New York-based Kaltura.

The shortcode in this article will permit you to include ellentube video on your WordPress website with shortcode. You can optionally include a title and/or description, or return a video thumbnail that we import into your own WordPress image directory.

The Result

To render a basic player the shortcode of [ellen v="http://ellentube.com/videos/0_4qw6mvck"] will return the following:

In the second example we’ll add the title and description (you can include just one attribute, both, or none). The code of [ellen v="http://ellentube.com/videos/0_p2814lyo" description="true" title="true"] returns the following:

How to Shoot an ellentube Video

Description: Ellen gave her viewers a tutorial on the right ways, and wrong ways, to make an ellentube video.  (Source: ellentube, Created Aug 24, 2015)

To return just a thumbnail for the image use [ellen v="http://ellentube.com/videos/0-96soiv2i/" thumb="true"]. The following will be returned.

Jeannie's 'Wicked' Broadway Debut

By default we’ll copy the image to the image directory on your own WordPress installation and link the image back to the original video. Both of these features can be disabled by referencing the shortcode parameters below.

The Shortcode Function

Copy and paste the WordPress function into your theme's functions.php file or, if you sensibly have one installed, your custom functions plugin.

If you require shortcode to work in a sidebar widget, you'll have to enable the functionality with a filter. If you're using our custom functions plugin, you'll have that feature enabled by default.

Shortcode Attributes

The following shortcode attributes are available that will modify the output of the video. Modifying the code every time you want to include a video is a nuisance, so alter the actual code to reflect your preferred default behaviour.


The v is the full video URL (as demonstrated in our examples). Some videos have a trailing slash and some don’t… but either will do. If you prefer you can add just the video at the end of the URL string.


You should set the w (width) to fit your own post container. By default it’s 540 pixels… but this may be too wide for a lot of WP themes.


The height (h) of the video is automatically determined so you don’t have to define it (so leave it blank). Sometimes, however, the formatting we apply may not work for you and you’ll have to correct it yourself.


To include the title with the video, use title="1" or for more permanent results, adjust your shortcode function. Defaults to false.


To include the video description with the video, use description="1" in your shortcode. For more permanent results adjust your shortcode function. Defaults to false. The decription includes a link back to the video and an original publication date.


align determines the alignment of your video container. Best to leave it as center.


The description looks a little shabby when it centers over multiple lines. For that reason, you can choose to align text to the left with captionalign="left". Defaults to left.


If you would prefer to return a video thumbnail image rather than the video, use thumb="true".


By default we’ll import the thumbnail image for every video you include on your website; it makes it easy to use it elsewhere or as a featured image. To cease importing, use import="0" or alter the shortcode function for default behaviour.

Ellen images imported into local WP library.

If you don’t import the image to your own WordPress installation we’ll reference the remote image instead.


The thumbnail image, if returned, will link to the video page by default. To silence this, use link="0". Defaults to true.


This code utilises a feature I’ve used a few times now; we read the remote page for meta data and then store that locally in your own database. The request for this data is made only once.

Ellen has an RSS feed that makes it easy to automatically embed latest videos or have them posted onto different types of websites. In another scheduled post we’ll show you how to showcase the latest ellentube videos in a tower for inclusion in a sidebar or similar.

While I’ve posted shortcode for Oprah.com quite recently, and now Ellen, I assure you that I’m not necessarily a fan of either.

Download the Shortcode Function

You may download the shortcode function here .

Shortt URL for this post:

Leave a Reply

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