Do you want to automatically create WordPress posts from YouTube video.
Many YouTube publishers want to auto post YouTube videos to WordPress. Luckily there are multiple ways to do auto post from YouTube to your WordPress website.
In this article, we’ll show you how to easily create a WordPress post from YouTube video.
Why Auto Post YouTube Videos to WordPress
Videos are one of the most engaging content types on the internet. User engagement and the time users spend on a website are one of the important SEO ranking factors.
WordPress makes it super easy to embed YouTube videos to your WordPress posts and pages.
However, you’ll have to do that manually each time. This works out great for YouTube channels that create detailed articles accompanying their YouTube videos.
On the other hand, some YouTube publishers may simply want to auto-post the latest video to their website.
That being said, let’s take a look at two easy methods to auto-post YouTube videos to your WordPress website.
- Method 1. Automatically Post YouTube Videos in WordPress using IFTTT
- Method 2. Automatically Display Recent YouTube Videos in WordPress with Smash Balloon
Method 1. Create New WordPress Post From YouTube Video using IFTTT
IFTTT is an online tool that allows users to automate popular apps. IFTTT stands for “if this then that”. It is a powerful service that lets you automate certain tasks based on your specified criteria. For example:
If this happens: ‘A new video is uploaded to YouTube’.
Then do that: ‘Create new post in WordPress’.
The example above is called an Applet (previously it was called a recipe). You can create an applet for many web-based services, social media platforms, smart devices, and even your WordPress website.
Check out our article on how to automate WordPress and social media with IFTTT for more examples.
To post your YouTube videos from IFTTT to WordPress, the first thing you need to do is go to the IFTTT website and sign up (it’s free).
Once signed up, go ahead and click on the Create button at the top to create your first applet.
This will bring you to the If This Then That wizard.
First, you need to click on the Add button to select the app that will trigger this applet to run.
Since we want the auto-post YouTube video, then we need to select YouTube on the next screen.
As soon as you select YouTube, IFTTT will show you a bunch of triggers that you can use.
You need to select ‘New Video by Channel’ as your trigger.
Next, you’ll see a prompt to connect with your YouTube account.
This will bring up a popup where you need to select your YouTube account that you use to manage your channel.
On the next screen, you need to click on the allow button to give IFTTT permission to access your YouTube account.
After the authorization, you need to enter your YouTube channel ID and click on the ‘Create Trigger’ button.
Note: You can find your channel ID by visiting the YouTube website and clicking on your profile icon. From there you need to select Settings and then switch to the Advanced Settings tab.
Once you have created the trigger, IFTTT will prompt you to fill in the Then That part.
This is the action you want to perform after IFTTT finds new video published on your channel.
Click on the Add button to continue.
On the next screen, you need search and select WordPress.
After that, you need to click on the ‘Create a post’ as the action that you want to perform.
Next, IFTTT will prompt you to connect your WordPress site.
You can do that by entering your WordPress website URL, user name, and password.
Once connected, you’ll be asked to choose the action you want to perform. Click on the ‘Create a post’ action to continue.
On the next screen, you’ll be able to choose different options for the WordPress post you want create from the YouTube video.
Important: Make sure that the YouTube video URL tag is wrapped around a paragraph tag. This will ensure that WordPress will be able detect and embed the video.
You can change post title, content, category and tags. You can also add dynamic elements by clicking on the Add Ingredient button.
You can also choose to publish immediately, or save post as a draft to publish later.
Feel free to modify these options. The only option that you must include in post body is the YouTube video URL, so that video appears in your WordPress blog post.
Once you are done, click on the create button to continue, and then IFTTT will show you a summary of your applet.
You can optionally turn on notifications when this appelt runs. Don’t forget to click on the Finish button to save and activate your applet.
Turn off URL Shortening in IFTTT
Now before you can test your IFTTT applet, first you need to turn off the URL shortening feature in IFTTT.
By default, IFTTT will use a URL shortening service for YouTube URL which would prevent WordPress from embedding the video.
To fix this, simply click on your profile icon at the top and choose Account menu.
From here, scroll down to the URL shortening section and uncheck the box next to Auto-shorten URL option.
Don’t forget to click on the Update button to save your changes.
You can now upload a new video to your YouTube channel and see it automatically appear as a new post on your WordPress website.
Method 2. Auto Post YouTube Videos to WordPress Using Smash Balloon
This method allows you to automatically show your YouTube videos on your WordPress website.
It will not create new blog posts for each YouTube video. Instead, it would automatically fetch your latest videos and display them beautifully.
This method helps you to avoid the negative effects on WordPress SEO due to duplicate content and lack of original content on video-only posts.
It also allows you to create custom YouTube gallery feeds and embed them anywhere on your website.
For this tutorial, we’ll be using Smash Balloon YouTube Feed plugin. It is the best WordPress social media plugin on the market and allows you to automatically display your social media posts to your WordPress website.
It comes with support for Facebook, Instagram, Twitter, and YouTube. You can also get their Social Wall plugin to combine multiple platforms into one social media feed.
First, you need to install and activate the Smash Balloon YouTube Feed plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, go to the Feeds for YouTube » License page and enter your plugin license key. You can find this information under your account on Smash Balloon website.
After that, switch to the Configure tab to set up your YouTube feed. You can start by simply clicking on the big blue button to ‘Connect to YouTube’.
This will take you to the YouTube website where you’ll be asked to choose the account you use to manage your YouTube channel.
Next, you’ll be asked to allow Smash Balloon access to your YouTube account. This is read-only access, and it does NOT allow Smash Balloon to modify or post anything on your YouTube channel, so it’s very safe.
Once authorized, it will take you back to your WordPress website where you will see a success message.
You can now click on the Save Changes button to store your settings.
To display your YouTube videos, you need to create a new post or page or edit an existing one.
On the post edit screen, you need to add the following shortcode:
You can now save your changes and view your post and page to see your YouTube videos displayed in a neat grid layout.
Want to change how the videos are displayed?
Simply switch to the Customize tab under plugin settings to choose a different layout and adjust different settings.
For instance, you can choose the list layout and use the shortcode in a sidebar widget to display the latest videos in your blog sidebar.
Smash Balloon’s YouTube feed is mobile responsive so the videos will not break your website’s layout.
Additionally, you can also use Smash Balloon to show videos from third-party channels or combine videos from multiple channels in the same feed.
We hope this article helped you learn how to automatically create WordPress post from YouTube videos. You may also want to see our list of best social proof plugins for WordPress and how to How to add YouTube subscribe button in WordPress.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Hi, this is a good thing on IFTTT for NEW videos, but what if I wanted to generate posts from existing videos on youtube, for example, videos in a playlist. Is there a way to do that?
WPBeginner Support says
For the moment we do not have a recommended retroactive method for creating the posts.
Zakir A. Qureshi says
Hello Every One if i do AutoBlog With YouTube is there any issue of Copyright Please guide Me Thanks .
WPBeginner Support says
If you created the video and own the rights, then there wouldn’t be a copyright issue.
Please I tried to use the ifttt to WordPress after connected it does not create post at my website. When I check the report on ifttt it say. Something wrong with WordPress services.
WPBeginner Support says
Try to connect again. If it doesn’t work then you probably have xmlrpc disbaled. If you are using 2-step verification for login, then you will need to create application specific password for IFTTT to use.
Nick Barban says
Hi found this article by accident. I was investigating autoblogging after an article i read on google+ from WP B. ive signed up with IFTTT but i dont know know wether im being blind or stupid i ve tried to set up an application password but I cant find anywhere to set this up within my wordpress site. Im guessing that as im using clef authentication to log in, this is causing the problem. Can i get round this problem by deactivating clef and relogging in via login and password? will that give me the option to set up application passwords. And can i reactivate clef once this is set up and the application passwords still work. Primary reason for setting this up is to have a live autoblog update of new videos being posted on YouTube. Im likely to be posting quite a few this year. Thanks for your help in advance. Nick
WPBeginner Support says
You can try deactivating Clef for testing and if it works then ask Clef support how to get around that.
WPBeginner Staff says
You are welcome.
WPBeginner Staff says
No, IFTTT does not add embed code in your posts. It only adds the YouTube video URL. WordPress then gets the embed code using oEmbed. You may want to take a look at this guide about how to make your videos responsive in WordPress Using Fitvids.
Thank for explaining the nature of the problem better, however, I still havent been able to fix the issue with the oembed adding the old flash code when using IFTTT.
I did add the Fitvids plugin and configured as mentioned in the article, but issue still persist. I did not notice that if I manually add the youtube url to an article the proper ifram code is used, but I still see the problem only occurring when I use IFTTT.
Do you have any ideas as to what may causing this issue. I’ve been dealing with this issue for a while and it has been frustrating not finding the fix. Other then this problem, it works great! Thanks again for answering.
wow, I just noticed what I was doing wrong, I choose embed code instead of URL in the recipe. With the URL, the recipe works as you mention, URL is translated by the website automatically into iframe code.
If you use the EmbedCode ingredient the embed code is added to the post but it uses the flash code. Thank God I read your post, and realized I could just use the URL ingredient and did not need to used EMbedCode.
Thanks again for all your help
I use this service for posting my youtube videos, however, I recently became aware that ifft uses the old youtube embed code to post the youtube videos on your word press page, and therefore when a visitor views your article on the phone the videos do not display. I wish IFTTT would upgrade to use the iframe format of the embed code, because otherwise it is a great function
Rareș Ghinga says
It says that it will scan for NEW videos. What about older uploads/favorites?
WPBeginner Staff says
This can be caused by a security plugin installed on your site.
Also make sure that your WordPress Address and Site Address are the same URLs in settings. If you have a setup where WordPress is installed in a different directory than the site address, then you will need to use the WordPress address on IFTTT.
Michiel Andreae says
Great idea. I was looking for exactly this. Unforunately my IFTTT can’t connect to my WordPress site. It returns “Live channel fields value is not a valid WordPress url”. Any idea how I can fix this?
you have a super website and this is information I am looking for right now. I already have an account and will set this up today. as always, thanks so very much for sharing all of this pertinent information. whilei am fairly new to WordPress, these articles are a great help. you explain directions in a very clear, concise and easy to understand manner. thanks again!
Syntocode Tomisin says
Wow! great service from IFTTT..Thanks for sharing
IFTTT great service I already use it on many sites.