WP Video Popup & WP Video Popup PRO are fully backwards compatible. In this post we’re going over the deprecated trigger & shortcode.
Shortcode
Example Shortcode to display a YouTube or Vimeo video:
[ryv-popup video="Embed-URL"]
Example shortcode to display a YouTube video:
[ryv-popup video="https://www.youtube.com/embed/YlUKcNNmywk"]
Example to display a YouTube video with autoplay functionality:
[ryv-popup video="https://www.youtube.com/embed/YlUKcNNmywk?autoplay=1"]
Example to display a Vimeo video with autoplay functionality:
[ryv-popup video="https://player.vimeo.com/video/136696258?autoplay=1"]
Open/trigger the lightbox
CSS class that needs to be added to the element you want to open the lightbox:
ryv-popup
Example link to open the lightbox:
<a href="#" class="ryv-popup">Play Video</a>