Basic usage

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:

[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 generated from the video URL 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 with shortcode parameters:

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

Add beautiful responsive YouTube & Vimeo video lightbox popups to your WordPress website without sacrificing performance.

Our products

If you like WP Video Popup, make sure to check out our other products:
– Page Builder Framework Theme
– Ultimate Dashboard
– Better Admin Bar

Download

Enter your email address and be the first to get informed about new features & updates!

We take your privacy seriously! No spam, we promise. See our Privacy Policy.

Still looking for the Perfect Theme?

Page Builder Framework is the perfect theme for your next project. Check out Page Builder Framework today!