1. Home
  2. AccessAlly
  3. Video Bookmarks
  4. How to configure Amazon S3 to work with ProgressAlly Media Player

How to configure Amazon S3 to work with ProgressAlly Media Player

With AccessAlly Pro, you can easily configure Amazon S3 to work with ProgressAlly Media Player, then embed and track the progress of video and audio files hosted on your Amazon S3 account.

How Your Videos are Protected

Amazon S3 has several settings to protect your media, and if you follow the directions below then ProgressAlly will create a special “bucket” in your Amazon account that will protect your videos from being downloaded.

The bucket will contain the word “progressally” followed by unique randomized characters, like this:

Screenshot of Amazon S3 Bucket

If you only upload videos and content to your ProgressAlly created bucket, your videos:

  • Can only be watched on your AccessAlly site
  • Cannot be downloaded

Even though the bucket is set to “Public”, during the setup process below there is a script that prevents people from accessing the content outside of AccessAlly’s Media Player (other than you as the administrator).

What if you uploaded your content to another bucket?

If you have an existing bucket of content on Amazon S3, then you’ll want to set the videos to be “Read & Copy” for them to be available to the ProgressAlly Media Player.

However, people will be able to access these videos outside of your membership site if they get the link.

A better approach would be to move these files into your newly created ProgressAlly media bucket, which will protect your videos from being shared or downloaded.

Step 1: Enable Amazon S3 Integration

Inside your AccessAlly site, go to: ProgressAlly → Video → Settings.

Then, check the box to enable Amazon S3 integration.

Next, you’ll need to log into your Amazon S3 account to retrieve the API integration information:

Step 2: Integrate with Amazon S3

There are 2 options for setting AccessAlly Pro as a user:

  • (Simple) Use the root user: this involves the least amount of work, and it is the preferred method if security is not a big concern.
  • (Slightly complex) Create a dedicated user: this is more secure, as the user will only have limited permission. It is also the ideal solution if both of the root user security keys are already in use.

Option 1: Root User Credentials

Here are the steps to get the root credential:

1. Login to AWS. Go to Account → My Security Credentials

2. Go to the Access Key section and click on Create New Access Key

3. A popup will appear showing the Key and Secret Access Key. IMPORTANT: the Secret Access Key is only shown ONCE, so download the key file if needed.

4. Enter the Key and Secret Access Key in ProgressAlly → Video → Settings.

Option 2: Create IAM user

Alternatively, you can create a dedicated AWS user for ProgressAlly. Here are the steps:

1. Go to https://console.aws.amazon.com/iam/home#/users

2. Click on Add User

3. In Step 1, check “Programmatic Access”

4. Use the default settings for steps 2-4. No need to add permission right now.

5. In Step 5, save the Key and Secret Key, which can be entered in ProgressAlly → Video → Settings.

6. Open the newly created user, click on “Add inline policy”

7. Switch to the JSON tab and paste in the attached code below:


{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:GetRole",
"iam:CreateRole",
"iam:AttachRolePolicy"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"mediaconvert:*"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"iam:PassRole"
],
"Resource": "*",
"Condition": {
"StringLike": {
"iam:PassedToService": [
"mediaconvert.amazonaws.com"
] }
}
},
{
"Action": [
"acm:ListCertificates",
"cloudfront:*",
"iam:ListServerCertificates",
"waf:ListWebACLs",
"waf:GetWebACL"
],
"Effect": "Allow",
"Resource": "*"
}
] }

8. Click on Review Policy.

9. Name the policy “ProgressAllyVideoPolicy” and click on “Create Policy”.

Step 3: Upload Your Videos

Once the integration information is entered and saved, you can upload videos directly to Amazon S3 by going to: ProgressAlly > Videos > Manage.

Screenshot of Video Uploading Screen

When you upload your videos through this interface, your videos:

  • Can only be watched on your AccessAlly site
  • Cannot be downloaded
  • Are automatically converted into streaming videos

Currently, you can only upload MP4 videos for conversion to streaming through the Media Player.

Step 4: Add Amazon AWS Videos To a Page

Finally, when you’re ready to add your Amazon AWS videos to a WordPress page, go to the Media tab in the page’s ProgressAlly settings.

Here, change the media source to Amazon AWS Video, and you can either select a video that’s already been uploaded from the dropdown, or click on the Upload Video button to upload a new video.

If you’d like, you can also upload a custom image for your video that incentivizes people to click in and watch.

Uploading Audio files for the Media Player

If you plan to use the ProgressAlly Media player to play MP3 audio files, then you might be wondering how to best upload and manage these files.

The AccessAlly Media uploader is specifically designed to convert MP4 video files into streaming video content, so it does not accept MP3 files.

However, you can upload MP3 files directly to the new Amazon S3 bucket that AccessAlly creates (by logging into your Amazon S3 account), and that will protect these files through your site.

Screenshot of Amazon S3 buckets

Upload the files you want to play through AccessAlly here.

Screenshot of uploading button for Amazon S3

Grab the URL of your Mp3 file:

Screenshot of URL to copy and paste

Then simply copy and paste the Amazon S3 URL into your Media player.

Screenshot of ProgressAlly Media Player Settings

Even though the folder in your Amazon S3 account says it is “public”, the only place that this MP3 will work is through your AccessAlly site – so even if someone grabs the URL it won’t be shareable.

Updated on October 14, 2020

Was this article helpful?

Related Articles

NO QUESTION GOES UNANSWERED

If you have any questions, we're just an email away.

We take your success seriously, and you'll always get a speedy reply from a real person during business hours.

Opt-In-Laptop.png

AccessAlly is the #1 WordPress Course and Membership Solution for Industry Leaders

WATCH THE DEMO

You'll get follow-up emails about AccessAlly and new features. Opt out anytime. Full privacy policy here.