How to Protect WordPress Videos

Videos have become one of the most effective types of content to share your expertise and knowledge with others. Oftentimes you want your users to view but not download your private videos. So how to prevent users from downloading your private videos?

Don’t worry, we will guide you on how to achieve that with just a few single clicks.

Requirements:

Once you’ve installed our plugins, please follow these simple steps below to start protecting your WordPress audios and videos now.

Editor Toolbar

Classic Editor

Step 1: Go your where you want to insert your video then click on our plugin’s icon on your post editor.

Step 2: A popup will appear allowing you to choose a video that you want to protect.

You can also adjust the width or height of your video (1) or enable autoplay (2).

Step 3: Once you’ve chosen your video, click on “Insert video” button

A shortcode will be automatically generated for you, which embed your video into your content and protect them against downloading.

Gutenberg Editor

Step 1: Search and add our “Protected Video” block into your content

Step 2: Click “Add Media” then choose your desired video.
Please make sure that the video is protected. If it’s not, you can protect it directly on the right sidebar.

Step 3 (optional): Under our Protected video block settings, you can set the video’s height & width, add a custom poster as well as make the video autoplay if you’d like to.

Shortcodes

Instead of using our plugin UI in the visual editor, you can simply copy these shortcodes to your content to protect the private videos. This method supports both the default player, Plyr player and FV player plugin.

Default player

[protected_video width="512" height="308" id="897798" class="your-custom-class" autoplay="true" poster="your poster's image URL" video_id="Put your video id here"]

Please note that the video_id is required for the shortcode to run properly. You can get the ID number by hovering over the video’s title.

Plyr player

[protected_video width="512" height="308" id="897798" class="your-custom-class" autoplay="true" poster="your poster's image URL" video_id="Put your video id here" player="plyr"]

Since version 1.3.2, PDA Protect Videos extension provides another player with more built-in features:

  • Show video length before users click on the play button.
  • Picture in picture mode
  • Disable/Enable caption (WIP)
  • Change video quality (WIP)

FV player

[fvplayer src="Input your video URL here" width="512" height="308"]

  • Only works with FV player version 6.0

Here you go. With our PDA Protect Videos extension, you now can allow your users to view your videos online but not download them.

Please make sure that your video is protected by our Prevent Direct Access Gold before embedding it into WordPress content. You can do so directly on WordPress Media library or when clicking on “Add Media”. Otherwise, the video will still be downloadable.

Lasted updated on September 6, 2020