Allow users to upload video to YouTube from WordPress

How to Allow Users to Upload Videos to YouTube From WordPress

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.

WPForms is the best WordPress Form Builder plugin. Get it for free!

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.

WPForms WordPress 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.

We’ll be using the WPForms plugin to create the form. To install and activate the plugin, you can follow the beginner’s guide on how to install a WordPress plugin.

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.

Create a video upload form using WPForms plugin

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.

Add file upload field 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.

Modify form field options

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:

Video upload form

You can now change the notification and confirmation settings of this form. Once done, click on the Save button in the top-right corner of your screen to save the changes.

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.

Video upload form preview option

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:

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.

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.

WPForms Zapier integration api key

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.

make a zap

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.

choose WPForms as a trigger app

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.

new form entry for trigger app

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.

allow access to Zapier

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.

test connection between Zapier and WPForms

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.

Select Video Upload form from dropdown menu

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.

select form entry

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.

Zap needs an Action App

Just like WPForms, you need to search for YouTube using the “Choose an Action App” search box and then click on it to proceed.

Search and select YouTube as action app

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.

Select a YouTube action

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.

Allow permission to Zapier to upload videos to YouTube

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.

Test connection between Zapier and YouTube account

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.

YouTube video upload template

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.

Send Test to YouTube

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.

Turn on WPForms to YouTube zap to allow users to upload videos

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.

Add WPForms block to video upload page

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.

Add WPForms to Editor to allow users to upload videos

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.

To prevent unwanted form submissions, you should make this page password protected. Also, you can allow only your registered users to use the form to upload a video.

Final Thoughts

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:

And please follow us on Facebook and Twitter to get updates from our blog.

Using WordPress and want to get WPForms for free?

Enter the URL to your WordPress website to install.

Comments

  1. Thank you for this article. Really useful. will give it a shot to implement it.

    Quick questions –
    1. The video which is being uploaded from client browser for registered members – it will be stored on website server or it will be directly uploaded on the configured Youtube channel?

    2. Is it possible to directly upload it on Youtube channel without uploading it on website server?

    3. Is it possible to upload it on Youtube channel but keep it in draft state, don’t publish it until it is reviewed it by admin?

    1. Hi Viren, great questions!
      1. The video will be uploaded to your site and then via Zapier will be uploaded to the chosen Youtube channel.
      2. It will still be hosted on your site until you remove it.
      3. If this option is available in Zapier, you can check the options available there when you create connection.
      Hope this helps.
      Have a good one 🙂

  2. Hi, I’m considering if buy your plugin, could you please answer third question Viren asked? Is it possible to upload it on Youtube channel but keep it in draft state, don’t publish it until it is reviewed it by admin? It is the only thing I need to know before I purchase the plugin.

    Thank you in advance.
    Have a good day.

    1. Hi Martin!
      I’ve checked it, and there is the Privacy Status option available, which gives you an opportunity to choose between the Public and Private status of the uploaded video. So making it Private the video won’t be visible to a public audience and additionally, you can choose to not notify your subscribers that this video was uploaded to your channel.
      However, there is no option to upload it as a draft.

      I hope this helps.
      Have a good one 🙂

      1. Hi Anatolii,
        Thank you very much for answering my question. You helped me to make decision. I have been using your free plugin long time and I’m happy to support your hard work by purchasing Pro version.

        Have a good day.

      2. Hi Martin, I’m really glad that the information was helpful to you!
        Happy to hear that you have decided to go Pro!

        Have a good one 🙂

      3. Great post. Question… If I understand, the video would load as a private video and it would give me a chance to have a look at it before we allowed it to go live (public). Is that right? Is it possible later to notify subscribers?
        TY

      4. Hi John!
        Yes, that’s correct. If you will use the Private video status in Zapier settings then it will be available for you only. It will depend on the Youtube publishing rules if the subscribers will be notified once you have made the video publically accessible, but I believe they should be notified.
        Have a good one 🙂

  3. Can these videos be placed on a page on my site? So, I get that uploaded video gets stored on my site, but can I have the option to actually have a page on my site with these videos – in conjunction with it being placed on youtube?

    1. Hi Sarah!
      Great question. If you use our Post Submission addon, then the video file can be used as a custom field value in your posts. So once the user submits the form, the data from it will be used to publish a post with the video added to it.
      We have more details regarding our Post Submission addon here.
      If you have a WPForms license, you have access to our email support, so please submit a support ticket.
      Otherwise, we provide limited complimentary support in the WPForms Lite WordPress.org support forum.
      I hope this helps.
      Have a good one 🙂

      1. Hi,
        I use post submissions addon with a wpforms form with file upload and zapier addon and it’s uploading files to youtube smoothly.
        Also post are shown on my website
        BUT videos are NOT shown inside the post
        That’s pretty strange. And if I go inside the post from admin side there is no trace of the video, but the video is available in the media library (and on youtube)

  4. How much does the plugin that support zappier cost?
    Secondly is it possible for user to upload the video to my site without getting stored to my server(I use shared hosting with limited disk space and videos would make it fill up)

    1. Hi there!
      To use our Zapier addon, you would need the Pro license level or higher, you can check our Pricing page here.
      When you upload a file though a form, the uploaded file will be stored on your server, and you will be able to remove it manually through the site admin dashboard. I do agree it would be super helpful, though. I’ve made a note of the feature request and we’ll keep it on our radar as we plan out our roadmap for the future.
      Have a good one 🙂

  5. Hello, just a question on this topic.
    We’ve purchased your PRO licence of WpForms for this task.
    People should fill in a form and upload a video that goes straight to our YouTube Channel. I’ve made the whole procedure and it works well. It even puts the video in private mode which is what we wanted. Only thing is that it seems to work only if the video is very small in size. When it’s bigger than 15-20MB file upload halts. I’ve tried to maximize the upload size on WordPress but my hosting providers, under php configuration, allows me to set the value up to 250MB. Still it won’t work, I’d need like 1GB. How can I do to solve this problem? Thank you so much for help!
    Claudio

    1. Hey Claudio – We’d be happy to help! When you get a chance, please drop us a line in support so we can assist. Being a Pro license user, you have access to our email support, so please submit a support ticket.

      Thanks 🙂

  6. Say we have a user on my site (user A), and more users (B – Z), and they all upload a video, can ot be setup to where on my site it lists the videos under the rightful user’s profile?

    1. Hi Dinard!
      WPForms currently edit the users’ profile pages. It can add to it only when a user register through the User Registration form.
      I apologize for any inconvenience.
      Have a good one 🙂

  7. i wish everyone have good days. there is a thing that i wonder. how to allow my users to upload their youtube videos to my website with wordpress? when they upload their youtube videos, i must manage wherever i publısh their videos on my website or not. is there a plugin related to this.

    1. Hi Mustafa.
      I think the best is to use our Post Submission addon, it will create a post on your site with any data added there (includes the video uploaded). Then once the user will submit a post it should be approved by a site admin before it will get published on your site.
      For more details, please check this article on our site.
      I hope this helps.
      Have a good one 🙂

  8. Hi there,

    The previous posts are really great. I have a query-
    For education website instructors will upload the video files…as per the above posts I can understand that video can directly be uploaded to youtube (but a copy will still be there in web hosting server and manually needs to be deleted) in private mode…great.

    I have following queries-

    1. Is it possible to delete the hosting site’s video files automatically after a time interval (as if the volume is high then very soon webspace will be full)?

    2. As mine is an education site when students will click the video file in website, will it be directly played from youtube (after deleting the hosting site stored copy)? Any restriction?

    3. Do I need to purchase simple WP hosting , Or VPS for wordpress hosting? which will be the cheap & best option?

    4. Finally, in the WP video upload form, can I delete any field if I want? I mean to say that I want to delete Name and email id, the Description field will the form still work seamlessly?

    Please response.

    1. Hey Sumit – There is no built-in option in WPForms to delete those files automatically from your server after a time interval. You might need to write some cron jobs for that. Here is a general guide on how WordPress corn jobs work. Once you have files uploaded to YouTube, you can use that link to show the video on your site, it will be totally independent of the files on your server.

      For the hosting, it totally depends on the complexity of the site and more importantly on how much traffic it is supposed to handle. Please refer to this hosting comparison guide to compare some good hostings.

      Yes, you can absolutely add/remove the fields from your form.

      I hope this info helps!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.