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, you can easily achieve that with our Protect WordPress Videos extension with just a few single clicks. Once you’ve installed our extension, please follow these simple steps below to start protecting your WordPress 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 let your video auto play (2)

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

A plugin’s 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.


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

Default player

[*protected_video mp4="Input your video/audio URL here" width="512" height="308"id="897798" class="your-custom-class" autoplay="true" poster="your poster's image URL" video_id=888]

*No character here

You will need to manually find & put the video id into the shortcode yourself. Your video’s ID can be found via the page URL (on the browser’s address bar) when clicking on the file under WordPress media library (both list and grid view):


Though your video would still be playing without the video_id attribute, it won’t be protected properly.

FV player

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

* No character here
* Only works with FV player version 6.0

Here you go. With our Protect WordPress 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 page or during step 2 below when clicking on “Add Media”. Otherwise, the video will be still downloadable.

Lasted updated on November 6, 2019