{"id":493,"date":"2012-06-23T11:31:32","date_gmt":"2012-06-23T11:31:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-video-lightbox\/"},"modified":"2025-04-17T03:36:17","modified_gmt":"2025-04-17T03:36:17","slug":"wp-video-lightbox","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/wp-video-lightbox\/","author":13076177,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.9.12","stable_tag":"trunk","tested":"6.8.5","requires":"3.0","requires_php":"","requires_plugins":null,"header_name":"WP Video Lightbox","header_author":"Tips and Tricks HQ, Ruhul Amin","header_description":"","assets_banners_color":"1e3f5a","last_updated":"2025-04-17 03:36:17","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.tipsandtricks-hq.com\/","header_plugin_uri":"https:\/\/www.tipsandtricks-hq.com\/?p=2700","header_author_uri":"https:\/\/www.tipsandtricks-hq.com\/","rating":4.3,"author_block_rating":0,"active_installs":30000,"downloads":1294567,"num_ratings":67,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3":{"tag":"1.3","author":"mra13","date":"2012-06-23 11:34:02"},"1.4":{"tag":"1.4","author":"mra13","date":"2013-04-30 02:24:36"},"1.5":{"tag":"1.5","author":"mra13","date":"2013-05-23 07:21:43"},"1.6":{"tag":"1.6","author":"mra13","date":"2013-06-08 08:42:57"},"1.6.1":{"tag":"1.6.1","author":"wpecommerce","date":"2013-08-08 07:12:20"},"1.6.2":{"tag":"1.6.2","author":"wptipsntricks","date":"2013-12-06 23:12:32"},"1.6.3":{"tag":"1.6.3","author":"wptipsntricks","date":"2013-12-08 00:58:49"},"1.6.4":{"tag":"1.6.4","author":"wptipsntricks","date":"2013-12-17 01:18:21"},"1.6.5":{"tag":"1.6.5","author":"wptipsntricks","date":"2013-12-20 02:37:36"},"1.6.6":{"tag":"1.6.6","author":"wptipsntricks","date":"2014-04-19 05:42:06"},"1.6.7":{"tag":"1.6.7","author":"wptipsntricks","date":"2014-06-11 02:08:11"},"1.6.8":{"tag":"1.6.8","author":"wptipsntricks","date":"2014-07-27 00:53:37"},"1.7.6":{"tag":"1.7.6","author":"wptipsntricks","date":"2015-12-07 05:01:09"},"1.7.8":{"tag":"1.7.8","author":"wptipsntricks","date":"2016-03-21 11:54:25"},"1.7.9":{"tag":"1.7.9","author":"wptipsntricks","date":"2016-06-24 07:01:51"},"1.8.0":{"tag":"1.8.0","author":"wptipsntricks","date":"2016-07-06 08:42:40"},"1.8.1":{"tag":"1.8.1","author":"wptipsntricks","date":"2016-08-11 05:30:27"},"1.8.2":{"tag":"1.8.2","author":"wptipsntricks","date":"2016-08-13 02:35:15"},"1.8.4":{"tag":"1.8.4","author":"wptipsntricks","date":"2017-11-14 07:03:31"},"1.8.5":{"tag":"1.8.5","author":"wptipsntricks","date":"2018-07-20 10:53:26"},"1.8.6":{"tag":"1.8.6","author":"wptipsntricks","date":"2018-11-05 05:48:09"},"1.8.7":{"tag":"1.8.7","author":"wptipsntricks","date":"2018-12-07 05:41:01"},"1.8.8":{"tag":"1.8.8","author":"wptipsntricks","date":"2020-03-06 05:42:36"},"1.8.9":{"tag":"1.8.9","author":"wptipsntricks","date":"2020-06-12 13:38:49"},"1.9.0":{"tag":"1.9.0","author":"wptipsntricks","date":"2020-09-01 06:46:54"},"1.9.1":{"tag":"1.9.1","author":"wptipsntricks","date":"2021-08-10 10:07:08"}},"upgrade_notice":{"":"<p>None<\/p>"},"ratings":{"1":5,"2":2,"3":6,"4":7,"5":47},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":981252,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1803645,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3","1.4","1.5","1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.7.6","1.7.8","1.7.9","1.8.0","1.8.1","1.8.2","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8","1.8.9","1.9.0","1.9.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[21858,18793,26966,53889,71649],"plugin_category":[50],"plugin_contributors":[77713,77710,78177],"plugin_business_model":[],"class_list":["post-493","plugin","type-plugin","status-publish","hentry","plugin_tags-video-lightbox","plugin_tags-wordpress-lightbox","plugin_tags-wordpress-video-embed","plugin_tags-wordpress-video-lightbox","plugin_tags-wp-video-lightbox","plugin_category-media","plugin_contributors-ruhul-amin","plugin_contributors-tips-and-tricks-hq","plugin_contributors-wptipsntricks","plugin_committers-mra13","plugin_committers-wptipsntricks","plugin_support_reps-mbrsolution"],"banners":{"banner":"https:\/\/ps.w.org\/wp-video-lightbox\/assets\/banner-772x250.png?rev=1803645","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-video-lightbox\/assets\/icon-128x128.png?rev=981252","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The WordPress Video Lightbox plugin allows you to embed videos on a page using lightbox overlay display.<\/p>\n\n<p>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.<\/p>\n\n<p>https:\/\/www.youtube.com\/watch?v=WoLLwF6OwzQ<\/p>\n\n<p>https:\/\/www.youtube.com\/watch?v=kDN2d8jU3zM<\/p>\n\n<h4>Embedding Vimeo Video<\/h4>\n\n<p>You can embed a Vimeo video using the following shortcode in a WordPress post or page:<\/p>\n\n<pre><code>[video_lightbox_vimeo5 video_id=\"13562192\" width=\"640\" height=\"480\" anchor=\"click here to open vimeo video\"]\n[video_lightbox_vimeo5 video_id=\"13562192\" width=\"640\" height=\"480\" anchor=\"http:\/\/www.example.com\/images\/vimeo-thumb.jpg\"]\n<\/code><\/pre>\n\n<p>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.<\/p>\n\n<p>In order to embed a private Vimeo video you need to add the \"p_hash\" parameter to the shortcode.<\/p>\n\n<pre><code>[video_lightbox_vimeo5 video_id=\"13562192\" p_hash=\"5e2d1c1e6d\" width=\"640\" height=\"480\" anchor=\"click here to open vimeo video\"]\n<\/code><\/pre>\n\n<p>The value of \"p_hash\" can be found in the <code>?h=<\/code> hash parameter of your Vimeo embed code (e.g. <code>https:\/\/player.vimeo.com\/video\/13562192?h=5e2d1c1e6d<\/code>).<\/p>\n\n<h4>Embedding YouTube Video<\/h4>\n\n<p>You can embed a YouTube video using the following shortcode in a WordPress post or page:<\/p>\n\n<pre><code>[video_lightbox_youtube video_id=\"G7z74BvLWUg\" width=\"640\" height=\"480\" anchor=\"click here to open YouTube video\"]\n[video_lightbox_youtube video_id=\"G7z74BvLWUg\" width=\"640\" height=\"480\" anchor=\"http:\/\/www.example.com\/images\/youtube-thumb.jpg\"]\n<\/code><\/pre>\n\n<p>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.<\/p>\n\n<h4>Optimizing the SEO of your Thumbnail Image<\/h4>\n\n<p>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.<\/p>\n\n<pre><code>[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\"]\n<\/code><\/pre>\n\n<p>You need to replace the value of \"alt\" with your own description of the image.<\/p>\n\n<h4>Features\/Settings Configuration<\/h4>\n\n<p>Once you have installed the plugin you can configure some options to customize the popup. The settings menu can be accessed from \"Settings-&gt;Video Lightbox-&gt;prettyPhoto\".<\/p>\n\n<ul>\n<li>Enable prettyPhoto: Check this option if you want to use the prettyPhoto library<\/li>\n<li>Animation speed: fast \/ slow \/ normal [default: fast]<\/li>\n<li>Autoplay slideshow: true \/ false [default: false]<\/li>\n<li>Opacity: Value between 0 and 1 [default: 0.8]<\/li>\n<li>Show title: true \/ false [default: true] <\/li>\n<li>Allow resize: Resize the photos bigger than viewport. true \/ false [default: true]<\/li>\n<li>Allow expand: Allow the user to expand a resized image. true \/ false [default: true]<\/li>\n<li>Default width: default width of the lightbox window [default: 640, you can override it using the width parameter in the shortcode]<\/li>\n<li>Default height: default height of the lightbox window [default: 480, you can override it using the height parameter in the shortcode]<\/li>\n<li>Counter separator label: The separator for the gallery counter in lightbox [default: \/]<\/li>\n<li>Theme: theme for the lightbox window - Default, Light Rounded, Dark Rounded, Light Square, Dark Square, Facebook<\/li>\n<li>Horizontal padding: The padding on each side of the lightbox window [default: 20]<\/li>\n<li>Hide Flash: Hides all the flash objects on a page, set to true if flash appears over prettyPhoto [default: false]<\/li>\n<li>wmode: the flash wmode attribute [default: opaque]<\/li>\n<li>Autoplay: Automatically start videos: true \/ false [default: true]<\/li>\n<li>Modal: If set to true, only the close button will close the window [default: false]<\/li>\n<li>Deeplinking: Allow prettyPhoto to update the url to enable deeplinking. [default: true]<\/li>\n<li>Overlay gallery: If this enabled, a gallery will overlay the fullscreen image on mouse over [default: true]<\/li>\n<li>Overlay gallery max: Maximum number of pictures in the overlay gallery [default: 30]<\/li>\n<li>Keyboard shortcuts: Set to false if you open forms inside prettyPhoto [default: true]<\/li>\n<li>IE6 fallback: compatibility fallback for IE6 [default: true]<\/li>\n<\/ul>\n\n<h4>Additional Features<\/h4>\n\n<ul>\n<li>Automatically retrieve the thumbnail for your video and embed in lightbox<\/li>\n<li>Load YouTube video over https. This is great if you have SSL installed on your site<\/li>\n<li>Disable suggested videos at the end of a YouTube video<\/li>\n<li>Enable privacy-enhanced mode in a YouTube video<\/li>\n<li>Flexiblity of using both shortcode\/html code to pop up media in lightbox<\/li>\n<li>Show description of a popup in overlay<\/li>\n<\/ul>\n\n<p>For video tutorial, screenshots, detailed documentation, support and updates, please visit: <a href=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-video-lightbox-plugin-display-videos-in-a-fancy-lightbox-overlay-2700\">WP Video Lightbox plugin page<\/a><\/p>\n\n<h3>Usage<\/h3>\n\n<p>You need to embed the appropriate shortcode on a post\/page to display the specific type of media (Youtube, Vimeo, Flash etc).\nInstructions for using the shortcodes are available at the following URL: \n<a href=\"https:\/\/www.tipsandtricks-hq.com\/wp-content\/uploads\/docs\/WP-Video-Lightbox-Plugin-Usage-Guide.pdf\">WP Video Lightbox Details Usage Instruction<\/a><\/p>\n\n<!--section=installation-->\n<p>Upload the plugin to the plugins directory via WordPress Plugin Uploader (Plugins-&gt;Add New-&gt;Upload-&gt;Choose File-&gt;Install Now) and Activate it.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='can%20this%20plugin%20be%20used%20to%20embed%20a%20youtube%20video%3F'><h3>Can this plugin be used to embed a YouTube video?<\/h3><\/dt>\n<dd><p>Yes<\/p><\/dd>\n<dt id='can%20this%20plugin%20be%20used%20to%20embed%20a%20vimeo%20video%3F'><h3>Can this plugin be used to embed a Vimeo video?<\/h3><\/dt>\n<dd><p>Yes<\/p><\/dd>\n<dt id='can%20this%20plugin%20be%20used%20to%20do%20lightbox%20on%20images%3F'><h3>Can this plugin be used to do lightbox on images?<\/h3><\/dt>\n<dd><p>Yes<\/p><\/dd>\n<dt id='can%20this%20plugin%20automatically%20create%20a%20thumbnail%2Fanchor%20image%20from%20the%20youtube%20video%3F'><h3>Can this plugin automatically create a thumbnail\/anchor image from the YouTube video?<\/h3><\/dt>\n<dd><p>Yes<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.9.12<\/h4>\n\n<ul>\n<li>Some security improvements suggested by Wordfence.<\/li>\n<\/ul>\n\n<h4>1.9.11<\/h4>\n\n<ul>\n<li>Added more error checking in response to some issues reported by Krzysztof Zaj\u0105c.<\/li>\n<\/ul>\n\n<h4>1.9.10<\/h4>\n\n<ul>\n<li>Fixed an error on PHP 8.<\/li>\n<\/ul>\n\n<h4>1.9.9<\/h4>\n\n<ul>\n<li>Fixed an issue with the Vimeo hash parameter.<\/li>\n<\/ul>\n\n<h4>1.9.8<\/h4>\n\n<ul>\n<li>Fixed an issue with Vimeo video autoplay.<\/li>\n<\/ul>\n\n<h4>1.9.7<\/h4>\n\n<ul>\n<li>Made some security improvements suggested by WPScan.<\/li>\n<\/ul>\n\n<h4>1.9.6<\/h4>\n\n<ul>\n<li>Made some security improvements in the settings. The issues were reported by WPScan.<\/li>\n<\/ul>\n\n<h4>1.9.4<\/h4>\n\n<ul>\n<li>Added support for private Vimeo videos.<\/li>\n<\/ul>\n\n<h4>1.9.2 and 1.9.3<\/h4>\n\n<ul>\n<li>Better santization for the alt tags. Thanks to Fortinet's FortiGuard Labs for pointing it out.<\/li>\n<li>Made some security improvements in the shortcodes. Thanks to Fortinet's FortiGuard Labs for pointing it out.<\/li>\n<\/ul>\n\n<h4>1.9.1<\/h4>\n\n<ul>\n<li>Replaced deprecated jQuery.fn.size() with the .length property.<\/li>\n<\/ul>\n\n<h4>1.9.0<\/h4>\n\n<ul>\n<li>iframes now align correctly on mobile devices.<\/li>\n<\/ul>\n\n<h4>1.8.9<\/h4>\n\n<ul>\n<li>Made some changes to the settings.<\/li>\n<\/ul>\n\n<h4>1.8.8<\/h4>\n\n<ul>\n<li>Video lightbox is now compatible with WordPress 5.0.<\/li>\n<\/ul>\n\n<p>= 1.8.7\n* Fixed the YouTube autoplay option.\n* Fixed close button was partially positioned behind the lightbox.\n* Fixed play button img was inheriting box-shadow from theme.\n* Fixed PHP notices on settings page.\n* Added a new option to enable privacy-enhanced mode in a YouTube video.<\/p>\n\n<h4>1.8.6<\/h4>\n\n<ul>\n<li>Added a fix so a search engine bot cannot access the video lightbox directory.<\/li>\n<\/ul>\n\n<h4>1.8.5<\/h4>\n\n<ul>\n<li>Video Lightbox is now compatible with WordPress 4.9.<\/li>\n<\/ul>\n\n<h4>1.8.4<\/h4>\n\n<ul>\n<li>Fixed a deprecated constructor warning in the class-prettyphoto.php file.<\/li>\n<\/ul>\n\n<h4>1.8.3<\/h4>\n\n<ul>\n<li>Fixed an issue where the alternate text did not appear for a custom YouTube thumbnail.<\/li>\n<\/ul>\n\n<h4>1.8.2<\/h4>\n\n<ul>\n<li>Video lightbox is now compatible with WordPress 4.6.<\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<ul>\n<li>Video lightbox now includes the minified version of the prettyPhoto library.<\/li>\n<\/ul>\n\n<h4>1.8.0<\/h4>\n\n<ul>\n<li>Vimeo video URL is now rendered in HTTPS in the shortcode.<\/li>\n<li>Vimeo video thumbnail is now retrieved with a secure API request to the vimeo server.<\/li>\n<\/ul>\n\n<h4>1.7.9<\/h4>\n\n<ul>\n<li>Fixed some deprecated function in the settings.<\/li>\n<\/ul>\n\n<h4>1.7.8<\/h4>\n\n<ul>\n<li>Added \"alt\" parameter in the shortcode that can be used to describe the anchor image.<\/li>\n<\/ul>\n\n<h4>1.7.7<\/h4>\n\n<ul>\n<li>Added translation option which is compatible with language packs.<\/li>\n<li>Video Lightbox is now compatible with WordPress 4.4.<\/li>\n<\/ul>\n\n<h4>1.7.6<\/h4>\n\n<ul>\n<li>Video Lightbox is now compatible with WordPress 4.3.<\/li>\n<\/ul>\n\n<h4>1.7.5<\/h4>\n\n<ul>\n<li>Updated the prettyPhoto library to fix an XSS vulnerability in it.<\/li>\n<\/ul>\n\n<h4>1.7.4<\/h4>\n\n<ul>\n<li>Video Lightbox shortcodes will now get filtered in a text widget<\/li>\n<\/ul>\n\n<h4>1.7.3<\/h4>\n\n<ul>\n<li>plugin is compatible with WordPress 4.2<\/li>\n<\/ul>\n\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>plugin is now compatible with WordPress 4.1<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>Fullscreen option is now available for YouTube and Vimeo videos<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Fixed an error message in the video lightbox settings<\/li>\n<\/ul>\n\n<h4>1.6.9<\/h4>\n\n<ul>\n<li>Added a new shortcode parameter to show the description of a video popup in lightbox<\/li>\n<\/ul>\n\n<h4>1.6.8<\/h4>\n\n<ul>\n<li>fixed an issue where vimeo video could not be played on a HTTPS site<\/li>\n<\/ul>\n\n<h4>1.6.7<\/h4>\n\n<ul>\n<li>plugin is now compatible with WordPress 3.9.<\/li>\n<\/ul>\n\n<h4>1.6.6<\/h4>\n\n<ul>\n<li>YouTube video can now be loaded over https<\/li>\n<\/ul>\n\n<h4>1.6.5<\/h4>\n\n<ul>\n<li>fixed a bug in the plugin where default options were not set for automatic upgrade<\/li>\n<\/ul>\n\n<h4>1.6.4<\/h4>\n\n<ul>\n<li>plugin is now compatible with WordPress 3.8.<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>plugin now works with multisite install.<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<ul>\n<li>Created a settings menu for the plugin<\/li>\n<li>Updated the prettyPhoto library to 3.1.5<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>Added https support for YouTube video.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Added an option to automatically create and use the thumbnail of the YouTube or Vimeo video as the anchor image.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Made some improvements as to how the JavaScript code is loaded in the plugin. WordPress 3.6 compatibility.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>added a feature in the shortcode to turn off the related video display after the playback<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>First commit to the wordpress repository<\/li>\n<\/ul>","raw_excerpt":"Very easy to use WordPress lightbox plugin to display YouTube and Vimeo videos in an elegant lightbox overlay.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=493"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wptipsntricks"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=493"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=493"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=493"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=493"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=493"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}