BACK TO DIRECTORY

Protected Video

by Alec Rust

4.7
(15 ratings)

Gutenberg block and Shortcode for embedding YouTube/Vimeo videos, in a way that prevents users easily accessing the underlying video.

This is useful for example when embedding an “unlisted” video as premium course content behind a paywall on your site.

Features include:

  • Plyr player used to overlay default player with custom controls
  • Player modifications to always prevent clicking the default player
  • Encodes video ID in HTML to prevent finding it via “View Source”
  • Settings page to e.g. configure the player theme to match your site

View Player Demo

Note: This only provides a basic level of protection. Technical users may still be able to access the underlying video.

This plugin is open source and contributions are welcome on GitHub.

Screenshots

Searching for Protected Video in the Block Editor.

Searching for Protected Video in the Block Editor.

Protected Video block inserted in the Block Editor.

Protected Video block inserted in the Block Editor.

Protected Video displayed on public facing site.

Protected Video displayed on public facing site.

Configuration of the global plugin settings.

Configuration of the global plugin settings.

Optional Shortcode embed method also supported.

Optional Shortcode embed method also supported.

Plugin Details

Active Installs
1K+
Total Downloads
32,537
Version
2.0.4
Requires WP
6.6
Requires PHP
7.2
Tested Up To
6.9.7
Added
2021-06-09
Last Updated
2026-04-18 6:47pm GMT

Ratings

5
14
4
0
3
0
2
0
1
1