There are many ways in which you can protect videos.
Case 1: The video file is stored on your web site
By default, DAP can only protect files that are stored on the same web site where DAP is installed.
So if you install DAP on YourSite.com , then your files must also be located on YourSite.com. DAP installed on YourSite.com cannot protect files (.mp4, .mp3, .html, .pdf, .doc) that are stored on AnotherSite.com.
So assuming the files are stored on the same site as DAP, you can (and should) protect both the actual video file, as well as the blog post or page in which the embed-code for your video is published, by adding both to a Product.
This gives you 2 levels of protection for your videos:
Level 1: The blog post or page containing the video player code, itself is accessible only by authorized members.
Level 2: When an authorized user gets legitimate access to the page where the video is published (because they’re a paying member, say), even if they try to do a view source and figure out the location of the video (eg., http://yoursite.com/videos/howtovideo1.mp4) , and pass it around by email to their friends (or post the link in an online forum), their friends still can’t view the video, because the video link itself is protected by DAP.
If you have some text that you want the casual visitor (and Google) to read, but wish to protect only the video, then you could turn Sneak-Peek on (in Setup > Config > Advanced), insert a WordPress more tag (<!–more–>) into your post just where you want the content to start being protected, and put the video player’s embed code after the more tag.
Case 2: Video file is stored on Amazon S3
The only 3rd-party-stored video files that DAP can protect at this time are videos (and other files) that are stored on Amazon S3. DAP cannot do this by itself, but uses a special WordPress plugin called S3MediaVault.com , which is a plugin we developed specifically to make Amazon S3 videos play in your WordPress blog posts/pages. So again you get 2 levels of protection for your videos…
Level 1: DAP protects the post/page where the special S3MV video player code is embedded
Level 2: The S3MediaVault plugin makes sure that even if someone tried to do a view source and figure out the actual link to your Amazon S3 video, they still won’t be able to view the video.
WARNING: Video stored on other 3rd party video sites
DAP cannot protect, say, videos that are embedded from other 3rd party web sites like YouTube or Hulu. Of course, DAP can always protect the blog post or page itself that contains the video, but once an authorized user gets valid access to that blog page, they can see that it is a YouTube video (say), and then pass that YouTube video link to their friends, in which case DAP cannot protect that external YouTube video link.
10 comments ↓
Using the sneak peek – is there any way to make DAP hide more content than only what’s in the post? We have a video player in our template, that reads in a video, but want to protect it in the page also.
alternatively, do you know of a way to inject more content in {the_content} when it comes back in the loop, so that it appears to DAP that the video player is part of the {More…} content?
thanks.
I use Easy Video Player 2.0 (kind of based on JW tech.) which I store on AS3. Will you support it?
EVP itself have already 2 security built in
1. can set to play only from specific URL
2. random link change so it cannot be leeched
However, it can be still viewable everywhere and I want only members to see it.
Yes, DAP supports EVP.
WOW! That was fast reply.
Thank You Veena
I very appreciate it
Can DAP protect content shown in an iFrame? Possibly hide the entire iFrame inside a [DAP] shortcode?
Just answered my question by testing (silly me), but something broke my wordpress after the iframe was made available and I now have no shidebar. I’ll continue to cogitate, but step one looks good.
Helps if you put the closing tag behind the iFrame opeing tag. DAP shortcodes protect the content like a charm.
Hi, What if I have several buckets in s3? Or I should keep all my videos in one bucket ?
Alexei,
For now, you will have to keep everything in one bucket. But you can create sub-folders within each bucket, and add the sub-folder name to the S3MV tag, like this:
[s3mv]subfolder1/filename.mp4,…[/s3mv]
I installed the S3mediavault. Is there anyway I can change the URL expiration time to something less than 15 minutes?
Leave a Comment