Do you want your site visitors to upload videos to your YouTube channel?
With the help of WPForms, you can easily create a video upload form and embed it to a page on your WordPress site. And whenever someone submits a video using that form, it’ll be uploaded to your YouTube channel automatically.
In this article, we’ll show you the step by step process on how to allow users to upload videos to YouTube from WordPress.
Why Use WordPress to Upload Videos to YouTube?
There are times when you want users to share videos with you.
For example, you can ask your customers to make testimonial videos so that you can share them on your YouTube channel. This will help you to build trust among your prospective customers.
Also, you can start a contest and ask your users to share videos on how they’re using your product. And the video with the most likes on YouTube will win the contest.
Rather than manually uploading all the videos to YouTube, the best solution is to allow your users to upload videos directly to your channel.
And you can do this with the help of WordPress and the WPForms plugin.
First, you need to start a WordPress site and then, you can add a video upload form to a page on your site.
Next, you can share the page URL with your users and followers so that they can upload videos to your YouTube channel automatically. Simple, isn’t it?
So without further ado, let’s get started with the step by step process.
Step 1: Create a Video Upload Form
The first thing you need to do is create a video upload form on your website.
Upon activation, head over to WPForms » Add New to create a new form.
On the Setup page, you can write “Video Upload Form” in the Form Name field and then select the Simple Contact Form template. You can check out our guide on how to create a simple contact form in case you need any help.
Now you’ll have to customize this form so that your site visitors can use it to upload videos to YouTube.
First, you should add a File Upload field, found under the Fancy Fields section, to your form.
Next, you need to click on the File Upload field to open the field options on the left panel.
Here you can change the name of this field by editing the field label to say Video Upload. Also, you’ll need to make it a mandatory field by clicking on the Required checkbox.
You can specify the allowed file extensions for this field as well. Since you want the users to upload videos, you can include file extensions like mp4 and mov.
Next, you should add a Single Line Text field, found under the Standard Fields, to your form and change its label to Video Title. Again, you should make it a mandatory field just like the file upload field.
Finally, you can click on the Comment or Message field and change the label to Video Description.
Here’s the final version of our video upload form:
Step 2: Add Test Entry to Your Form
Once you’ve created the form, the next thing you need to do is add an entry to the form for testing purposes. We’ll need it in a later stage of this tutorial.
To do that, let’s use the form preview option instead of embedding our form to any page or post.
Go to WPForms » All Forms page and then hover the mouse cursor over the title of your video upload form. Once you see the preview option, click on it to open the form in a new tab of your web browser.
Now fill in the form and click on the Submit button to create a test form entry.
Step 3: Install Zapier Addon
Zapier is an automation tool that allows you to connect 2 or more apps and do a continuous task.
It allows you to integrate WPForms to over 1,300 apps and perform different tasks like:
- Creating a Trello task
- Adding events to Google Calendar
- Creating a Jira issue
- Making a custom Pipedrive form
- Sending leads to ConvertKit
- Much more
We’ll be using Zapier to connect WPForms and YouTube so that users can upload videos to YouTube automatically.
To do that, you need to install the Zapier addon on your WordPress site. Head over to WPForms » Addons to install and activate the Zapier addon.
Next, you need to go to WPForms » Settings page and then click on the Integrations tab.
Now click on the Zapier logo to find the API key for your site. You should keep this page open as we’ll use this API key later to connect Zapier to your WPForms account.
Step 4: Create a Zap
A zap allows you to connect 2 or more apps to do an automated task. You need to create a new zap so that Zapier can connect your video upload form to YouTube.
Head over to the Zapier website and log in to your account. You can create an account for free if you don’t have one.
Once you’ve signed in, you need to click on the Make a Zap! button, present at the top-right corner of your screen. This will open a new page to start the configuration wizard.
The process is divided into two parts. First, you need to set up WPForms as the trigger app and then, configure YouTube as the action app.
Let’s proceed to the next step to start the process.
Step 5: Configure a Trigger App
In this step, we’ll set up WPForms as the trigger app.
First, you need to search for WPForms using the “Choose a Trigger App” search box. Once you find it, you need to click on it to proceed.
Now you have to select a trigger option. Since WPForms offers only one option, select New Form Entry and click on the Save + Continue button.
Next, you’ll have to connect Zapier to your WPForms account by clicking on the Connect an Account button.
This will open a modal window asking you to enter your website URL and the Zapier API key. You can go to Step 3 to see how to get the API key.
Once you’ve filled in the details, you need to click on the Yes, Continue button. This will close the modal box and now you’ll see your WPForms account added to the “Select WPForms Account” page.
You can click on the Test button to check the connection between Zapier and WPForms. Once you get a success message, click on Save + Continue to proceed.
Next, Zapier will fetch all the forms from your website.
Go ahead to select the “Video Upload Form” from the dropdown box and then click on Continue.
Now all the entries of your video upload form will be retrieved by Zapier.
You need to select any one of the entries so that it can be used for testing the connection between WPForms and YouTube.
Once done, click on the Continue button to complete the trigger app setup process.
Step 6: Configure an Action App
Let’s configure YouTube as the Action App now.
So click on the “Your Zap currently lacks an Action step. Add one now!” link to start the process.
Just like WPForms, you need to search for YouTube using the “Choose an Action App” search box and then click on it to proceed.
Next, you have to select the YouTube Action that’ll happen when someone submits the file upload form.
Since YouTube offers only one option, go ahead to select Upload Video and then click on Save + Continue.
You’ll now have to connect your YouTube account to Zapier. To do that, click on the Connect an Account button to open a popup window.
YouTube will first ask you to sign in to your Google account. Next, you’ll have to select your personal or brand account (if any) where you want the videos to be uploaded.
Once done, you need to click on Allow to give permission to Zapier to access your YouTube account and upload videos to it.
You’ll now see your YouTube account added to the “Select YouTube Account” page. To check the connection between Zapier and YouTube, you can click on the Test button.
Once you get the success message, you need to click on the Save + Continue button to proceed.
Now you’ll have to set up the YouTube video upload template. Don’t worry! We’ll show you how to do it.
The first 3 fields in this template are mandatory.
For the Title field, you need to click on the Insert a Field icon and then, select Video Title from the dropdown menu.
Similarly, you should select Video Description for the Description field and Video Upload for the Video field.
The rest of the fields are optional, so you can edit them the way you want.
Once you’ve configured the template, scroll down and click on the Continue button.
Let’s test the connection between WPForms and YouTube now. To do that, click on the Send Test to YouTube button.
If you’ve properly configured everything, then the test video will be uploaded to your YouTube channel with your title and description.
You can visit your channel to confirm it and then return to the Zapier configuration wizard to click on the Finish button.
Finally, you need to click on the Zap toggle box to turn it to ON. This ensures that every time a user submits the video upload form on your site, a video will be automatically uploaded to your YouTube channel.
For future reference, you can also give a name to your Zap.
That’s all! You have successfully created and configured your Zap.
Step 7: Add Video Upload Form to Your Website
The final step is to embed the video upload form to a page so that you can allow your users to upload videos to your YouTube channel.
Head over to Pages » Add New from the left sidebar of your admin panel.
Next, click on the Add block (+) icon to insert a new block. Using the search box, find the WPForms block and click on it to add it to the content editor.
You’ll now have to select the video upload form from the dropdown box to add the form to the editor.
After making the necessary changes, you can publish this page to make it live.
We hope this tutorial helped you to learn how to allow your users to upload videos to YouTube from your WordPress website.
If you want to receive an SMS every time someone submits your form, then you should read our step by step guide on how to get an SMS text message from your WordPress form.
You may also want to check out how to create a WordPress form to upload files to Google Drive.
For more awesome ways to use WPForms and Zapier together, check out these guides on how to:
- Get an SMS text message from your WordPress forms
- Make a WordPress form upload files to Google Drive
- Create a custom iContact signup form in WordPress
- Connect your WordPress contact form to Discord
- Create a custom Airtable form for WordPress