Protected Video Protected Video

Protected Video

Created by: Alec Rust

Rating:
Downloaded: 21k times

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.
  • Protected Video block inserted in the Block Editor.
  • Protected Video displayed on public facing site.
  • Configuration of the global plugin settings.
  • Optional Shortcode embed method also supported.

Categories

Get New Themes & Resources