{"id":24143,"date":"2014-02-04T06:14:25","date_gmt":"2014-02-04T06:14:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/youtubefancybox\/"},"modified":"2026-09-01T09:08:02","modified_gmt":"2026-09-01T09:08:02","slug":"youtubefancybox","status":"publish","type":"plugin","link":"https:\/\/brx.wordpress.org\/plugins\/youtubefancybox\/","author":12640982,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"3.0.2","stable_tag":"3.0.2","tested":"7.1.1","requires":"6.7","requires_php":"8.1","requires_plugins":null,"header_name":"Video Lightbox for YouTube\/Vimeo","header_author":"Milind More","header_description":"","assets_banners_color":"737a8e","last_updated":"2026-09-01 09:08:02","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/youtubefancybox\/","header_author_uri":"https:\/\/milindmore.wordpress.com\/","rating":3.3,"author_block_rating":0,"active_installs":100,"downloads":12505,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"milindmore22","date":"2018-01-20 11:00:19","revision":1806194},"1.6":{"tag":"1.6","author":"milindmore22","date":"2018-01-20 10:55:09","revision":1806192},"2.0":{"tag":"2.0","author":"milindmore22","date":"2019-02-24 10:06:02","revision":2038093},"2.1":{"tag":"2.1","author":"milindmore22","date":"2019-02-24 10:06:02","revision":2038093},"2.2":{"tag":"2.2","author":"milindmore22","date":"2019-02-25 05:24:08","revision":2038532},"2.3":{"tag":"2.3","author":"milindmore22","date":"2019-09-05 14:36:03","revision":2151761},"2.6":{"tag":"2.6","author":"milindmore22","date":"2020-12-13 20:37:40","revision":2438477},"2.6.1":{"tag":"2.6.1","author":"milindmore22","date":"2020-12-14 18:43:18","revision":2439276},"2.6.2":{"tag":"2.6.2","author":"milindmore22","date":"2021-07-30 14:42:57","revision":2575366},"2.7.0":{"tag":"2.7.0","author":"milindmore22","date":"2024-10-15 08:51:53","revision":3169114},"2.7.1":{"tag":"2.7.1","author":"milindmore22","date":"2024-10-15 09:10:32","revision":3169127},"3.0.1":{"tag":"3.0.1","author":"milindmore22","date":"2026-09-01 08:27:48","revision":3675642},"3.0.2":{"tag":"3.0.2","author":"milindmore22","date":"2026-09-01 09:08:02","revision":3675729},"v2.5":{"tag":"v2.5","author":"milindmore22","date":"2020-06-30 06:09:08","revision":2332722}},"upgrade_notice":{"3.0.0":"<ul>\n<li>Added the Video Lightbox block for YouTube and Vimeo.<\/li>\n<\/ul>"},"ratings":{"1":"3","2":0,"3":0,"4":0,"5":"4"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3674882,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3674882,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3674882,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3674882,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"youtubefancybox\/video-lightbox":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"youtubefancybox\/video-lightbox","version":"3.0.0","title":"Video Lightbox for YouTube\/Vimeo","category":"media","icon":"format-video","description":"Add a YouTube or Vimeo video that opens in a lightbox when the thumbnail is clicked.","keywords":["youtube","vimeo","video","lightbox","popup"],"textdomain":"youtubefancybox","supports":{"html":false,"align":true,"spacing":{"margin":true,"padding":true}},"attributes":{"videoUrl":{"type":"string","default":""},"videoId":{"type":"string","default":""},"provider":{"type":"string","enum":["","youtube","vimeo"],"default":""},"thumbnailId":{"type":"number","default":0},"thumbnailUrl":{"type":"string","default":""},"thumbnailAlt":{"type":"string","default":""},"height":{"type":"number","default":0},"width":{"type":"number","default":0},"autoplay":{"type":"boolean","default":false}},"editorScript":"file:..\/..\/..\/build\/blocks\/video-lightbox.js","editorStyle":"file:..\/..\/..\/build\/css\/blocks-video-lightbox-editor.css","style":"file:..\/..\/..\/build\/css\/blocks-video-lightbox.css","render":"file:.\/render.php"}},"tagged_versions":["1.0","1.6","2.0","2.1","2.2","2.3","2.6","2.6.1","2.6.2","2.7.0","2.7.1","3.0.1","3.0.2","v2.5"],"block_files":[],"assets_screenshots":{"Screenshot-5.png":{"filename":"Screenshot-5.png","revision":3674882,"resolution":"5","location":"assets","locale":"","width":3164,"height":1880},"screenshot-1.png":{"filename":"screenshot-1.png","revision":3674882,"resolution":"1","location":"assets","locale":"","width":3164,"height":1880},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3674882,"resolution":"2","location":"assets","locale":"","width":3164,"height":1880},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3674882,"resolution":"3","location":"assets","locale":"","width":3164,"height":1880},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3674882,"resolution":"4","location":"assets","locale":"","width":3164,"height":1880}},"screenshots":{"1":"Video Lightbox block in the editor.","2":"Video Lightbox popup for entering a YouTube or Vimeo URL.","3":"Video Lightbox block settings in the sidebar.","4":"Video Lightbox shortcode generator under Media.","5":"Video Lightbox popup playing a video on the frontend."}},"plugin_section":[],"plugin_tags":[237,25670,80,1609,1610],"plugin_category":[56],"plugin_contributors":[84932],"plugin_business_model":[],"class_list":["post-24143","plugin","type-plugin","status-publish","hentry","plugin_tags-lightbox","plugin_tags-popup-video","plugin_tags-shortcode","plugin_tags-vimeo","plugin_tags-youtube","plugin_category-social-and-sharing","plugin_contributors-milindmore22","plugin_committers-milindmore22"],"banners":{"banner":"https:\/\/ps.w.org\/youtubefancybox\/assets\/banner-772x250.png?rev=3674882","banner_2x":"https:\/\/ps.w.org\/youtubefancybox\/assets\/banner-1544x500.png?rev=3674882","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/youtubefancybox\/assets\/icon-128x128.png?rev=3674882","icon_2x":"https:\/\/ps.w.org\/youtubefancybox\/assets\/icon-256x256.png?rev=3674882","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/youtubefancybox\/assets\/screenshot-1.png?rev=3674882","caption":"Video Lightbox block in the editor."},{"src":"https:\/\/ps.w.org\/youtubefancybox\/assets\/screenshot-2.png?rev=3674882","caption":"Video Lightbox popup for entering a YouTube or Vimeo URL."},{"src":"https:\/\/ps.w.org\/youtubefancybox\/assets\/screenshot-3.png?rev=3674882","caption":"Video Lightbox block settings in the sidebar."},{"src":"https:\/\/ps.w.org\/youtubefancybox\/assets\/screenshot-4.png?rev=3674882","caption":"Video Lightbox shortcode generator under Media."},{"src":"https:\/\/ps.w.org\/youtubefancybox\/assets\/Screenshot-5.png?rev=3674882","caption":"Video Lightbox popup playing a video on the frontend."}],"raw_content":"<!--section=description-->\n<p><strong>Video Lightbox for YouTube\/Vimeo<\/strong> lets you display responsive YouTube and Vimeo video thumbnails on WordPress posts, pages, and widgets. When a visitor clicks a thumbnail, the video opens in a responsive Colorbox popup.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li><strong>Block editor support<\/strong>: Add a Video Lightbox block, paste a YouTube or Vimeo URL, and choose a custom placeholder image.<\/li>\n<li><strong>YouTube &amp; Vimeo support<\/strong>: Embed public YouTube videos, Shorts, and Vimeo videos with a block or shortcode.<\/li>\n<li><strong>Responsive lightbox<\/strong>: Opens video playback in a responsive Colorbox overlay.<\/li>\n<li><strong>Block styles<\/strong>: Choose Default, Dark, or Cinema presentation styles in the block editor.<\/li>\n<li><strong>Display controls<\/strong>: Set thumbnail width, height, and autoplay for each block.<\/li>\n<li><strong>Shortcode generator<\/strong>: Generate a validated YouTube or Vimeo shortcode from <strong>Media &gt; Video Lightbox<\/strong>. The provider is detected automatically.<\/li>\n<li><strong>AMP support<\/strong>: Renders <code>amp-lightbox<\/code>, <code>amp-youtube<\/code>, and <code>amp-vimeo<\/code> components on AMP requests.<\/li>\n<\/ul>\n\n<h3>Block Editor<\/h3>\n\n<ol>\n<li>Add the <strong>Video Lightbox for YouTube\/Vimeo<\/strong> block.<\/li>\n<li>Select <strong>Edit video URL<\/strong> and enter a public YouTube or Vimeo URL.<\/li>\n<li>Optionally choose a custom placeholder image and adjust display settings in the block sidebar.<\/li>\n<\/ol>\n\n<h3>Source Code<\/h3>\n\n<p>The source code is available on <a href=\"https:\/\/github.com\/milindmore22\/youtubefancybox\">GitHub<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>youtubefancybox<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory (or search for <strong>Video Lightbox for YouTube\/Vimeo<\/strong> via <strong>Plugins &gt; Add New<\/strong>).<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> screen in WordPress.<\/li>\n<li>Add the Video Lightbox block, or generate a YouTube or Vimeo shortcode from <strong>Media &gt; Video Lightbox<\/strong> and insert it into any post, page, or widget.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20use%20the%20plugin%20after%20activating%20it%3F\"><h3>How do I use the plugin after activating it?<\/h3><\/dt>\n<dd><p>Add the Video Lightbox block, or generate a YouTube or Vimeo shortcode from <strong>Media &gt; Video Lightbox<\/strong> and insert it into any post, page, or widget.<\/p><\/dd>\n<dt id=\"can%20i%20override%20the%20default%20dimensions%20on%20a%20specific%20shortcode%3F\"><h3>Can I override the default dimensions on a specific shortcode?<\/h3><\/dt>\n<dd><p>Yes. You can override default dimensions using the <code>height<\/code> and <code>width<\/code> attributes in the shortcode, or use the block editor to set custom dimensions.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20support%20official%20amp%3F\"><h3>Does this plugin support official AMP?<\/h3><\/dt>\n<dd><p>Yes. When viewing content on an AMP-enabled request, the plugin automatically outputs native <code>&lt;amp-lightbox&gt;<\/code>, <code>&lt;amp-youtube&gt;<\/code>, and <code>&lt;amp-vimeo&gt;<\/code> markup without loading jQuery.<\/p><\/dd>\n<dt id=\"how%20do%20i%20generate%20shortcodes%20quickly%3F\"><h3>How do I generate shortcodes quickly?<\/h3><\/dt>\n<dd><p>Navigate to <strong>Media &gt; Video Lightbox<\/strong>, enter a YouTube or Vimeo video URL or ID and dimensions, then click <strong>Generate shortcode<\/strong>. The plugin validates the input and detects the provider automatically.<\/p><\/dd>\n<dt id=\"can%20i%20use%20the%20block%20editor%3F\"><h3>Can I use the block editor?<\/h3><\/dt>\n<dd><p>Yes. Add the <strong>Video Lightbox for YouTube\/Vimeo<\/strong> block, then enter a public YouTube or Vimeo URL. You can choose a custom placeholder image, set dimensions, enable autoplay, and select a block style.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.0.2<\/h4>\n\n<ul>\n<li>Updated readme.txt to remove shortcode references and highlight block editor usage.<\/li>\n<\/ul>\n\n<h4>3.0.1<\/h4>\n\n<ul>\n<li>Bump version to 3.0.1 for WordPress.org plugin repository.<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Added the Video Lightbox block for YouTube and Vimeo.<\/li>\n<li>Added custom placeholder images, responsive dimensions, autoplay, and Default, Dark, and Cinema block styles.<\/li>\n<li>Added a combined shortcode generator under Media with automatic provider detection and URL or ID validation.<\/li>\n<li>Updated plugin metadata, dependencies, and code structure.<\/li>\n<\/ul>\n\n<h4>2.7.1<\/h4>\n\n<ul>\n<li>Modernized admin settings and shortcode generator interfaces.<\/li>\n<li>Optimized JavaScript and modularized admin stylesheet loading.<\/li>\n<li>Updated compatibility for modern WordPress and PHP standards.<\/li>\n<\/ul>\n\n<h4>2.7.0<\/h4>\n\n<ul>\n<li>Fixed Vimeo data retrieval issue.<\/li>\n<li>Updated compatibility tested tag.<\/li>\n<\/ul>\n\n<h4>2.6.2<\/h4>\n\n<ul>\n<li>Fixed shortcode generator URL parsing.<\/li>\n<\/ul>\n\n<h4>2.6.1<\/h4>\n\n<ul>\n<li>Renamed plugin and updated assets for WordPress.org compliance.<\/li>\n<\/ul>\n\n<h4>2.6.0<\/h4>\n\n<ul>\n<li>Added official AMP plugin support with native AMP lightbox components.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Added support for Vimeo videos and shortcode generation.<\/li>\n<li>Updated Colorbox script.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Display YouTube and Vimeo videos in a responsive lightbox using block editor controls or shortcodes, with official AMP support.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/24143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=24143"}],"author":[{"embeddable":true,"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/milindmore22"}],"wp:attachment":[{"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=24143"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=24143"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=24143"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=24143"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=24143"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/brx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=24143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}