I’m often asked about how to protect content when using Amazon S3 to store content. Amazon S3 is an excellent platform to display video’s and audio’s from, as well as provide downloads of large files – it’s quick and optimized to deliver content to website visitors – however, ‘securing’ links so that they can’t be shared with others is sometimes a concern to website owners who want to deliver ‘training’ or ‘members only’ content.
I’ve been trialling a wordpress plugin called SecureDL and I thought I would share how to use it with JW Player to deliver video content.
Part 1: Configuring SecureDL
[jwplayer config=”standard” image=”https://acl-training.s3.amazonaws.com/JWPlayer/using-secure-dl-jw-player.png” file=[secdl bucket=acl-training path=JWPlayer/Using-Secure-DL-And-JW-Player-0.mp4]]
Click here to find out more about SecureDL.
Part 2: Displaying a video using SecureDL with JW Player
To display a video in a wordpress post or page (or even a widget) view the next video:
[jwplayer config=”standard” image=”https://acl-training.s3.amazonaws.com/JWPlayer/using-secure-dl-jw-player.png” file=[secdl bucket=acl-training path=JWPlayer/Using-Secure-DL-And-JW-Player-1.mp4]]
The ‘placeholder’ code that I use the above video is:
[ jwplayer config=”standard” image=”linktoimage” file=[ secdl bucket=bucketname path=path/videoname ] ]
(You have to remove the spaces before and after the ‘[‘ and ‘]’ in the code above.
Where:
config is the name of the JW Player you wish to use
image is the link to the image you want to use to display when the video is not playing
bucket is the name of the Amazon bucket where your video is stored
path is the path to the video, including the folder in the bucket (note: there is not leading / in this link).
0 comments