Looking for a safe place to store your members-only videos? Why not host them yourself. In this guide, we show you how to host video on Amazon S3, a cloud-based hosting environment provided by Amazon Web Services.

Self-hosted web servers are an easy solution for storing your video content. But, while most cloud-based servers aren’t free, they are less expensive than dedicated video hosting services. Self-hosting video also provides more control over the streaming and restriction of your videos as compared to free hosting sites like YouTube.

Let’s dig into how to set up Amazon S3 for video hosting and protect video embeds for members-only using Paid Memberships Pro.

How to Host Video on Amazon s3 for Members Only

About Self-Hosted Videos

Self-hosting your videos involves uploading them to your own web server. This makes it easy to create a members-only video library, with complete control over your video content.

If control over who can watch your videos is important to you, then a self-hosted server may be just right for you. But, when it comes to self-hosted video, you have a lot of options for where you store your files.

For example, you could host the videos on your own web server, use a CDN like Bunny.net, or leverage a cloud-based hosting server like Amazon S3.

About Amazon S3

Amazon S3 uses storage units called “buckets”. Buckets specify two things:

  • Where to store the file.
  • Who has access to the file.

This setup is not only useful for video streaming, but also for restricting access to members-only videos.

Amazon S3 pricing varies based on your storage needs and streaming consumption. The longer your videos or the larger their file sizes, the higher your costs will be. Refer to the Amazon S3 pricing guide for help determining rough fees.

Why not host videos on your own site?

Uploading videos directly to WordPress can slow down the site loading time across your entire site. This is especially problematic if your site has limited bandwidth or storage, or for site with a large number of simultaneous visitors.

We strongly discourage membership sites from uploading video within their WordPress site’s hosting environment. There are loads of ways to host members-only video, but for this guide we recommend an external server, like Amazon S3 to host your videos. This will ease the strain on your site and give your viewers the best streaming experience possible.

Run Your Online Video Business on a Platform That Grows With You

Paid Memberships Pro is the most robust membership plugin to sell access to your private videos on WordPress.

Build and grow an online video business that you control. Give your members the video content they seek and earn a reliable income with a totally independent online business.

Members are the hub of your private video membership site.

How To Restrict Access to Self-Hosted Videos

To get started, you’ll want to create an Amazon S3 account. From there, you can create and customize new video libraries to embed on your WordPress site.

  1. Create a new bucket for your website videos.
  2. Upload a new video into the bucket.
  3. Ensure the permissions are set so the public can read. This allows anyone with the link to view the video.
  4. Copy the Object URL for your video and paste it into your WordPress site.
Screenshot of creating a bucket in amazon s3

Once you have the Video Object URL, paste it into your media player to embed the video onto your WordPress site.

Screenshot of where to find the object URL

Since Amazon S3 is video hosting only, you’ll also need a media player that is compatible with Amazon S3 to embed videos in your site. We recommend the Html5 Video Player plugin from bPlugins LLC, which we’ll use in this example.

With the video embedded, you can use a variety of Paid Memberships Pro content protection methods to set the visibility level of the page it’s on.

  1. Insert the video embed into a page that’s protected using the Require Membership metabox setting.
  2. Add your video to a post that is protected at the category level.
  3. Use the Membership Required block to protect the video embed for members only.

How To Embed Restricted Videos Using the Membership Required Block

  1. First, insert the Membership Required block in your page or post.
  2. Set the section visibility using block settings. Choose the membership levels that can view this content.
  3. Click the Add Block “+” within the Membership Required block section and insert the Html5 Video Player inside that block.
  4. Paste the Video Object URL into the field and hit “Apply”.
Screenshot of how to embed restricted videos using the membership required block

That’s it. You’ve just added a private video that only members can see. The Html5 Video Player is nested within the Membership Required block and fully protected from non-members.

Amazon S3 Bucket Permissions ensure your videos will only be viewable to users on your site, while Paid Memberships Pro lets you choose which videos require a membership to watch.

Restrict Self-Hosted Files Using the getfile Method

For more information on restricting your self-hosted videos using the getfile method, see our locking non-WordPress files and folders and locking down files with PMPro articles.

Comparing Private Video Tools

There are several ways you can protect and share videos with members only. Here’s a quick comparison on our most recommend methods with the cost, video security, and ease of use.

ServiceCostVideo SecurityEase of Use
YouTubeFreeLow. Unlisted video URLs can be shared.Very easy to embed videos. No analytics.
Vimeo$20/mo. and upHigh. Private video cannot be accessed directly.Easy to embed videos. Use Vimeography to create a video library. Advanced analytics.
Bunny CDN< $5/mo. for high-volume (see streaming fees)High. Private video cannot be accessed directly.Very easy to upload through Bunny.net Dashboard. Embed videos with WordPress blocks.
Amazon s3< $10/mo. for high-volumeHigh. Private video cannot be accessed directly.More complex setup with limited analytics. Requires upload to Amazon s3 and third-party media player.
Bunny.net + Presto Player Pro< $5/mo. for high-volume (see streaming fees) + pro plugin ($99/yr.)High. Private video cannot be accessed directly.Fairly straightforward after initial setup. Simple analytics.

Is self-hosted video right for you?

In conclusion, self-hosting your videos provides greater control over who can view them and how they are streamed.

  • Amazon S3 is a cloud-based hosting solution that is ideal for storing and streaming video content, with pricing based on your storage needs and streaming consumption.
  • By using Paid Memberships Pro, you can restrict access to your members-only videos and protect them from non-members.

With these tools, you can create a secure and efficient video library for your website.

Ready to paywall your own members-only content and sell videos online? Give your members the video content they seek and earn a reliable income with a totally independent online business.

We know that a WordPress site has tons of moving parts. Choosing the right plugins, themes, video hosting, third party services, design assets, and more can feel overwhelming.

Paid Memberships Pro is a complete platform to help you make recurring revenue from your videos. But you may be asking: how do I put this thing together if I’m not a web developer?

We’ve got a complete guide that tells you exactly what you’ll get — the plugins, the support, and the training — when you manage your private video website on WordPress.

Cover image from ebook 29 Nuggets of Wisdom Volume 1 - Sample Collection

Download the free ebook: Get 29 insights and ‘aha moments’ for new or veteran membership site business owners. Use these nuggets of wisdom to inspire or challenge you.

Was this article helpful?
YesNo