Setting up YouTube videos on your website with a password for members

At this time with all the uncertainty around Covid-19, we are all learning to work in new ways, and it is more important than ever that businesses who rely on face to face contact can also adapt and bring their service to people virtually.

With us all being asked to avoid social contact and many people self-isolating we still want to do everything we can to live as normal life as possible. Whether this is socialising with friends over zoom, exercising, continuing to educate the children or continuing with our businesses.

To be able to share a video is a powerful way to communicate and in this blog, I will take you through the following steps:

  1. Add your first video to YouTube
  2. Make the video private/unlisted (optional)
  3. Share the video on your website
  4. Make your page/post password protected (WordPress only)

Add your first video to YouTube

  1. Sign in to YouTube – this will be your gmail login – if you haven’t got a gmail account you can get a free one here
  2. Go to your channel list – click on your avatar at the top right and select Your channel.
  3. Upload you video

Make the video private/unlisted (optional)

When uploading the video you will have the option to set the Visibility:

Public – everyone can see the video

Unlisted – Anyone with the video link can see your video – if you want to embed this on your website, this is the one to use.

Private – only you and the people you choose can see your video

If you want to change the visibility settings after you have uploaded the video to your website you are able to change the visibility settings at any time from your YouTube channel dashboard and going to videos and selecting the Visibility dropdown next to your video. So if you would like it to be listed on YouTube you can change the setting to public.

Below is a screenshot of your video listed on YouTube:


Share the video on your website

To add the video to your website you will need the video code and I will explain how you can get this next.

When you have uploaded your video you will be given the video code.

You can also get the video code at any time by going to your videos and selecting View on YouTube. Under the video you will see share, when you click on this select Embed.


The following code needs to be pasted into the Custom HTML block or text tab (classic editor). I recommend that you add ?rel=0 to stop random videos showing up, please see the below code to see where this needs to be added.

<iframe width="560" height="315" src="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Make your page/post private (WordPress only)

There are lots of ways on WordPress to only allow certain people to see pages and posts but the simplest way if you don’t want to set up a dedicated user area is to make your posts and pages password protected and give these password to the people who you want to see the page. This is handy if you already have a group of people who would usually pay for your services.

To do this go to your page or post and in the top right there is a section which says visibility.

Here you can set the page to be Password Protected.

When your clients go to the page they will see the following:

The password can then be given out to the people who you want to see your video.

Something new we learned doing this…

Be very careful what music you are using as YouTube will block any videos that have background music that is copyrighted. To make sure this doesn’t happen you can use YouTube Audio Library for copyright-safe music.


Loom is a great tool if you want to screen capture and it’s free up to 100 videos – .

In this post, I have spoken about YouTube but if you wish to lock your videos down further vimeo may be a better option as you are able to restrict who see’s the video by website URL and other features although they may be at a premium.

If anyone would like any help with this please contact me

Stay self and well and look after each other x