WordPress plugin that provides a Gutenberg block and traditional Shortcode for embedding YouTube/Vimeo videos, in a way that prevents users easily accessing the underlying video.
Install from the WordPress Plugin Directory or grab a ZIP from Releases. This plugin supports Git Updater.
To embed a video either search for "Protected Video" in the Block Editor, or use the Shortcode e.g.
[protected_video url="https://youtu.be/aqz-KE-bpKQ" service="youtube"]
Ensure you have the following installed:
Start a WordPress instance for developing this plugin:
npm install
composer install
npm run build
npm run env start
Run npm start
to watch and rebuild block source files as they change.
Run npm run start:demo
to launch the demo page on a local server.