Very easy to use WordPress lightbox plugin to display YouTube and Vimeo videos in an elegant lightbox overlay.
The WordPress Video Lightbox plugin allows you to embed videos on a page using lightbox overlay display.
This plugin can be used to display images, flash, YouTube, Vimeo, iFrame etc in a lightbox overlay. The embedded videos can be viewed on iPhone and iPad too.
You can embed a Vimeo video using the following shortcode in a WordPress post or page:
[video_lightbox_vimeo5 video_id="13562192" width="640" height="480" anchor="click here to open vimeo video"] [video_lightbox_vimeo5 video_id="13562192" width="640" height="480" anchor="http://www.example.com/images/vimeo-thumb.jpg"]
You need to replace the value of “video_id” with your actual Vimeo video ID. When a user clicks on the anchor text/image your vimeo video will pop up in lightbox.
In order to embed a private Vimeo video you need to add the “p_hash” parameter to the shortcode.
[video_lightbox_vimeo5 video_id="13562192" p_hash="5e2d1c1e6d" width="640" height="480" anchor="click here to open vimeo video"]
The value of “p_hash” can be found in the ?h=
hash parameter of your Vimeo embed code (e.g. https://player.vimeo.com/video/13562192?h=5e2d1c1e6d
).
You can embed a YouTube video using the following shortcode in a WordPress post or page:
[video_lightbox_youtube video_id="G7z74BvLWUg" width="640" height="480" anchor="click here to open YouTube video"] [video_lightbox_youtube video_id="G7z74BvLWUg" width="640" height="480" anchor="http://www.example.com/images/youtube-thumb.jpg"]
You need to replace the value of “video_id” with your actual YouTube video ID. You can also control the size of the lightbox window by customizing the width and height parameters.
When you are using a thumbnail image as the anchor, you can describe it using the “alt” parameter in the shortcode. It helps Search Engines understand what this image is about.
[video_lightbox_youtube video_id="G7z74BvLWUg" width="640" height="480" anchor="http://www.example.com/images/youtube-thumb.jpg" alt="text that describes this image"]
You need to replace the value of “alt” with your own description of the image.
Once you have installed the plugin you can configure some options to customize the popup. The settings menu can be accessed from “Settings->Video Lightbox->prettyPhoto”.
For video tutorial, screenshots, detailed documentation, support and updates, please visit: WP Video Lightbox plugin page
You need to embed the appropriate shortcode on a post/page to display the specific type of media (Youtube, Vimeo, Flash etc).
Instructions for using the shortcodes are available at the following URL:
WP Video Lightbox Details Usage Instruction
Upload the plugin to the plugins directory via WordPress Plugin Uploader (Plugins->Add New->Upload->Choose File->Install Now) and Activate it.
Yes
Yes
Yes
Yes
= 1.8.7
* Fixed the YouTube autoplay option.
* Fixed close button was partially positioned behind the lightbox.
* Fixed play button img was inheriting box-shadow from theme.
* Fixed PHP notices on settings page.
* Added a new option to enable privacy-enhanced mode in a YouTube video.