Protected Video
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 d
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 & previews.
- 01Install and activate the plugin
- 02Optionally configure player theme at Settings > Protected Video
- 03Search for and use “Protected Video” block in the Block Editor
- 04Alternatively use the Shortcode e.g. [protected_video url="https://youtu.be/aqz-KE-bpKQ" service="youtube"]