Before going through this post, please take a moment and read the general plugin description here. This is important as it explains how to use the plugin in a less-technical fashion.
Example Shortcode to embed a YouTube video:
Example Shortcode to embed a Vimeo video:
Trigger/Open the Lightbox
CSS class that needs to be added to the element you want to open the lightbox:
Example Link to open the lightbox:
<a href="#" class="wp-video-popup">Play Video</a>
Live demo: Play Video
There are attributes available to add parameters to the embed-URL that’s dynamically generated from the video URL provided in the shortcode.
Hide related videos
Only available for Vimeo & Self-Hosted videos.
Start video at a specific time (value in seconds)
Example shortcode with Shortcode parameters:
[wp-video-popup mute="1" start="24" hide-related="1" video="https://www.youtube.com/watch?v=YlUKcNNmywk"]