Basic Usage

Example Shortcode to embed a YouTube video:

[wp-video-popup video="https://www.youtube.com/watch?v=YlUKcNNmywk"]

Example Shortcode to embed a Vimeo video:

[wp-video-popup video="https://vimeo.com/136696258"]

Trigger/Open the Lightbox

CSS class that needs to be added to the element you want to open the lightbox:

wp-video-popup

Example Link to open the lightbox:

<a href="#" class="wp-video-popup">Play Video</a>

Live demo:

Play Video


Shortcode Attributes

There are attributes available to add parameters to the embed-URL that’s dynamically created from the video link provided in the shortcode.

Mute video

mute="1"

Hide related videos
Since September 2018, hiding related videos is no longer possible. Instead videos from your channel will be shown.

hide-related="1"

Portrait Mode
Only available for Vimeo & Self-Hosted videos.

portrait="1"

Start video at a specific time (value in seconds)

start="24"

Example shortcode:

[wp-video-popup mute="1" start="24" hide-related="1" video="https://www.youtube.com/watch?v=YlUKcNNmywk"]
WP Video Popup

Create beautiful responsive YouTube & Vimeo Lightbox Popups in WordPress.

New: Add Self-Hosted Videos with WP VIdeo Popup PRO!