How to Display WordPress Protected Videos in Lightbox

In this article, we will show you how to display videos protected by Protect WordPress Videos extension in the lightbox using the top WordPress popup plugins:

Step 1: Create a popup containing protected video

Once activating the plugin, go to Popup Maker >> Add Popup to create a new one.

Then insert your protected videos into popup content using our shortcode or Protect Videos icon.

You also need to create a new trigger that defines when a popup opens.

 

Step 2: Insert popup into content

Navigate to the content in which you want to display the protected video and edit it. You’re recommended to use Classic Editor.

Click on “Popup Maker Shortcodes” icon to insert your popup.

Once done, click “Publish” or “Update” the content.

The video popup will display when users click on the button link as image below.

Step 1: Create a popup containing protected video

Once activating the plugin, go to Popup Builder >> Add New and select HTML format to create a new popup.

Then insert your protected videos into popup content using our shortcode or Protect Videos icon.

Step 2: Insert popup into content

Navigate to the content in which you want to display the protected video and edit it. You’re recommended to use Classic Editor.

Click on “Insert popup” button to insert your popup.

Shortcodes Ultimate

With Shortcodes Ultimate plugin, simply add the following sample code into your content.

[su_lightbox type="inline" src="#my-video-popup"] Click me to see video [/su_lightbox]

[su_lightbox_content id="#my-video-popup"] 			
[/su_lightbox_content]

Don’t forget to change “video_id” to the actual file id of your protected video.

Lasted updated on July 30, 2020