Automatically Update WordPress With Your YouTube Videos

tutuploadsStep_1_eae8d1fb0020b9301318231cace9c913.png

The External Videos plugin allows you to automatically collect and dispay the videos from an external site such as your YouTube user channel. External Videos creates a post for each video automatically. For example, it finds all the videos of the user “Fred” on YouTube and adds them each as a new post type. The videos can be presented in a gallery using the shortcode [external-videos]. There is also a widget to add a list of the most recent videos in a sidebar.

This plugin can be very useful if you are following a channel that produces videos periodically. Once they are published to your video channel, they automatically show up on your site. Currently supported sites are: YouTube, Vimeo, and DotSub.

Step 1. Download and Install

tutuploadsStep_1_eae8d1fb0020b9301318231cace9c913.png

Dashboard > Plugins > Add New search for “external videos

Step 2. Configure the plugin

tutuploadsStep_2._Configure_the_plugin.png

After installation you will see

  1. A new section for adding the new post type
  2. Under Settings there will be a new settings link for External Videos. Click External Videos to set up.

Step 3. Add Authors

tutuploadsStep_3._Add_Authors.png
  1. Choose the video host (Currently supported sites are: YouTube, Vimeo, and DotSub.)
  2. Type in the Author ID
  3. Add the Developer and Secret key only if you are using Vimeo
  4. Click Add new author

To find the Author ID go to the video channel in your browser and find the author. For example on youtube, I have a channel at http://www.youtube.com/user/eawebeddy. The Author id is “eawebeddy” that is the only thing that needs to be typed in the id field.

tutuploadsmedia_1319510123462.png

After you click Add new author, you will see the author listed in the Authors section.

Step 4. Retrieve the videos

tutuploadsStep_4_2b778c93fd61c5d4f1ff1c6393980134.png

Click Update Videos from Channels and the program will retrieve all the videos and create a post for each one. If it’s a channel with a lot of videos, this may not work due to memory limits. It did work well with all the channels I tried that had less than 20 videos listed.

A cron is atomically set up to retrieve the newest videos once per day. You can manually retrieve new videos at any time by using the button, or just let the cron do its job.

Step 5. Edit the video posts

tutuploadsStep_5._Edit_the_video_posts.png

Go to Dashboard > External Videos > External Videos and you will see a list of all the video posts. Choose one to edit.
Choose a post to edit and click on it to open the editing.

The post that is created has the video embedded, and some basic other information. When you edit the post you can add anything you want to enhance the post.

tutuploadsmedia_1319511025692.png
  1. The YouTube embed code
  2. The description taken from YouTube
  3. The channel information

In edit mode

tutuploadsIn_edit_mode.png

You can add pictures, format text and use any editing facilities.

The published post

tutuploadsThe_published_post.png
  1. The video and information inserted by the plugin.
  2. The added image and text from your editing.

Option 1. Create a video index page.

To create a video index page, create a normal post, and insert the short code [external-videos]

The general shortcode is [external-videos], which creates a video gallery. See the sample below.

You can also now specify [external-videos feature=”embed”] to get just the latest video as a featured video and with all its embedding code.

You can further specify [external-videos width=”300″ height=”200″] if you want to change the width and the height of the embedded video.

And you can specify [external-videos link=”page”] if you want to get the links on the video gallery to link straight through to the video posts created by the plugin instead of opening in a pop-up lightbox.

tutuploadsmedia_1319512407183.png

The index (which is just a normal post) lists all the videos, and clicking on a thumbnail will open the video for viewing in a popup.

There are a couple of things about the index you should know.

  • First, you can only create one index. If you are following several channels, you can’t separate them and have a different post or page for each channel.
  • There is no pagination for the index. If you have thousands of videos there’s no way to limit them on the page.
  • There is no styling for the display, so you’ll need to edit the styling in your theme’s CSS file to adjust spacing.

Option 2. Use the video plugin as a video library and insert videos as needed.

tutuploadsOption_2.png

Click an Add Media icon
You don’t need to use the automatic posting ability. The plugin will keep your list of videos updated, and you can manually insert any video into any post or page in the same manner as adding other media.

tutuploadsmedia_1319513262982.png

Click External Videos tab
A new tab has been added to the media upload.

tutuploadsmedia_1319513449748.png

Click Show/Hide to open the listing
Click Insert Into Post

You’ll see all the retrieved videos listed, and when you click Show it will expand the listing so you can click Insert Into Post. Click Hide to toggle the view.

tutuploadsmedia_1319513754043.png

The video code will be inserted and you can then edit the post or page like any other.

Option 3. Use the widget to list videos

tutuploadsOption_3.png

You add the widget to the sidebar or any widget area of your theme as usual. You can list up to 15 of the most recent videos. The plugin will keep track of them for you and add and delete titles as the video channels are updated.

The widget as it appears in the sidebar

tutuploadsThe_widget_as_it_appears_in_the_sidebar.png

This plugin goes a long way toward automating the management of videos on a blog site. It adds the newest ones and deletes them when they are deleted from the channel, so your site is always up-to-date.

Author

0 0 votes
Article Rating
Subscribe
Notify of
5 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Ernst
Ernst
12 years ago

Looks nice but I get many duplicated videos while importing on WP 3.3.1.

It seems that it doesnot recognice what is already imported, especially on timeouts.

Any idea what could be the reason?

Cheers

Ernst

Nick
12 years ago
Reply to  Ernst

Hi Ernst,

Are you getting any error messages?

Kind regards,

Nick

Abdullah
Abdullah
11 years ago

I can upload the videos without any problem. But my problem is that the videos are not appearing in my blog timeline

Briand9
Briand9
11 years ago

Hello, could you tell me how to pull a random video from the imported videos to display on a page? I don’t want it in the widget, but embedded in a new page. Basically a video of the day feature. Ideally to rotate each day. Thanks!

Mint
Mint
10 years ago

Great post. Thanks for sharing.

5
0
Would love your thoughts, please comment.x
()
x