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.
In This Article
Step 1: Install WPForms
The first thing you’ll need to do is install the WPForms plugin. We’ll use it to create the video upload form users will fill out to upload videos to YouTube.
To install and activate the plugin, you can follow the beginner’s guide on how to install a WordPress plugin.
After WPForms is up and running on your WordPress site, you’ll also want to go to WPForms » Addons install and activate the 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 with over 5,000 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 use this to connect our video upload form to YouTube.
Once your plugin and addon are activated, you’re ready to build your YouTube form.
Step 2: Create a Video Upload Form
The next thing you need to do is head over to WPForms » Add New to create a new form.
On the Setup page, you can add a title in the Form Name Your Form field. Then you can choose one of the hundreds of templates WPForms provides. We’ll use the File Upload Form template.
We’ll need to customize this template a little bit so that it has all the fields we need to send videos to YouTube. By default it includes:
- File Upload
- Additional Comments (Paragraph Text)
First, we’ll delete the Phone field, since we don’t need to know the user’s phone number. Just click on the trash icon in the form preview area to delete a field.
Then we’ll customize the File Upload field. Click on a field in the preview area to open its field options. Here we’ll change the label to Video Upload.
We also need to specify the allowed file extensions. Since we want users to upload videos, we’ll include file extensions like .mp4 and .mov in the Allowed File Extensions field.
We also only want to let users upload 1 video at a time, so we’ll change the Max File Uploads setting to 1.
Finally, we’ll toggle on the Required setting so that users have to upload a video to submit the form.
Next, we’ll add a Single Line Text field to our form and change its label to Video Title. Again, you should make it a required field just like the file upload field.
Finally, you can click on the Additional Comments field and change the label to Video Description and make it required as well.
Here’s the final version of our video upload form:
You can now change the notification and confirmation settings of this form. If you want copy of the video file sent to you, make sure to turn on the Enable File Upload Attachments option in the notifications settings.
Just keep in mind that a lot of video files are quite large, so check your attachment size limits before enabling this setting. Email providers may prevent emails with large file attachments from being delivered.
Once you’re done, click on the Save button in the top right corner of your screen to save the changes.
Step 3: Add Test Entry to Your Form
Once you’ve created the form, the next thing you need to do is add an entry to it for testing purposes. We’ll need it at a later stage of this tutorial, so don’t skip this step!
The quickest way to do this is to click on the Preview button at the top of the form builder.
This will open your form in a new tab. Fill it out and click Submit.
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.
In a new browser tab, 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, click on the Create Zap button, in the top left 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 you need to configure YouTube as the action app.
Let’s proceed to the next step to start the process.
Step 5: Configure WPForms as Your Trigger App
In this step, we’ll set up WPForms as the trigger app. First, select WPForms as your trigger app. You may have to search for it if it doesn’t appear on the first page of available apps.
Now you have to select a trigger app event. Since WPForms offers only one option, select New Form Entry and click on the Continue button.
Next, you’ll have to connect Zapier to your WPForms account. Click Sign in to get started.
This will open a modal window asking you to enter your website URL and the Zapier API key. Switch back to the browser tab with your WordPress site in it and go to WPForms » Settings » Integrations.
Then look for the Zapier section and expand it. Copy the API key listed here.
Then paste it into the Zapier popup window, enter your website’s URL, and click 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. Click Continue to go to the next step.
Now you’ll need to select your video upload form as the form you’d like to connect to Zapier.
Once you select your video upload form, Zapier will ask you to test your connection. Click Test trigger to pull your test entry from WPForms.
If your connection is working properly, you’ll see a success message and your test entry data.
Click Continue to set up your Zapier action and connect your WordPress form to YouTube.
Step 6: Configure YouTube as Your Action App
Let’s configure YouTube as the Action app now.
Select YouTube as your action app. You can use the search bar to find it if you don’t see it listed.
Next, you have to select the YouTube action event 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 Continue.
You’ll now have to connect your YouTube account to Zapier. To do that, click on the Sign in button to open a popup window.
Now you’ll need to enter your Google account credentials to log in to YouTube, starting with your email address.
Then Zapier will ask for your Google password.
Finally, you’ll need to give Zapier permission to access your YouTube account.
Once you’ve logged in to YouTube, click Continue to keep making your zap.
Next, you’ll map the field from your video upload form to YouTube’s video fields. The title, description, and video file fields are required. All you have to do is select the corresponding fields from your form using the dropdowns.
If you’d like, you can also customize the privacy status, if you’d like to publish videos submitted through this form to a YouTube partner account, tags you’d like to add, and whether to notify subscribers of the new upload.
Once you’re done, click Continue. You’ll now have the chance to test your YouTube connection just like you did for WPForms. Click Test & continue to start the test.
If everything is set up properly, you’ll see a success message.
You should also be able to see the video on your YouTube channel. All that’s left is to click Publish Zap to make the connection live.
Step 7: Add Video Upload Form to Your Website
The final step is to embed your video upload form on 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 WordPress admin area.
Next, click on the plus (+) 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.
Then just publish this page to make it live.
Next, Get SMS Notifications for Form Submissions
We hope this tutorial helped you to learn how to allow your users to upload videos to YouTube from your WordPress website.
For more ideas on how to use videos on your WordPress site, check out our list of the best video plugins for WordPress.
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