Title: Video Lightbox for YouTube/Vimeo
Author: Milind More
Published: <strong>Onwa-asatö 4, 2014</strong>
Last modified: Onwa-atö 1, 2026

---

Search plugins

![](https://ps.w.org/youtubefancybox/assets/banner-772x250.png?rev=3674882)

![](https://ps.w.org/youtubefancybox/assets/icon-256x256.png?rev=3674882)

# Video Lightbox for YouTube/Vimeo

 By [Milind More](https://profiles.wordpress.org/milindmore22/)

[Download](https://downloads.wordpress.org/plugin/youtubefancybox.3.0.2.zip)

 * [Details](https://ibo.wordpress.org/plugins/youtubefancybox/#description)
 * [Reviews](https://ibo.wordpress.org/plugins/youtubefancybox/#reviews)
 *  [Installation](https://ibo.wordpress.org/plugins/youtubefancybox/#installation)
 * [Development](https://ibo.wordpress.org/plugins/youtubefancybox/#developers)

 [Support](https://wordpress.org/support/plugin/youtubefancybox/)

## Description

**Video Lightbox for YouTube/Vimeo** 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.

### Features

 * **Block editor support**: Add a Video Lightbox block, paste a YouTube or Vimeo
   URL, and choose a custom placeholder image.
 * **YouTube & Vimeo support**: Embed public YouTube videos, Shorts, and Vimeo videos
   with a block or shortcode.
 * **Responsive lightbox**: Opens video playback in a responsive Colorbox overlay.
 * **Block styles**: Choose Default, Dark, or Cinema presentation styles in the 
   block editor.
 * **Display controls**: Set thumbnail width, height, and autoplay for each block.
 * **Shortcode generator**: Generate a validated YouTube or Vimeo shortcode from**
   Media > Video Lightbox**. The provider is detected automatically.
 * **AMP support**: Renders `amp-lightbox`, `amp-youtube`, and `amp-vimeo` components
   on AMP requests.

### Block Editor

 1. Add the **Video Lightbox for YouTube/Vimeo** block.
 2. Select **Edit video URL** and enter a public YouTube or Vimeo URL.
 3. Optionally choose a custom placeholder image and adjust display settings in the
    block sidebar.

### Source Code

The source code is available on [GitHub](https://github.com/milindmore22/youtubefancybox).

## Screenshots

[⌊Video Lightbox block in the editor.⌉⌊Video Lightbox block in the editor.⌉[

Video Lightbox block in the editor.

[⌊Video Lightbox popup for entering a YouTube or Vimeo URL.⌉⌊Video Lightbox popup
for entering a YouTube or Vimeo URL.⌉[

Video Lightbox popup for entering a YouTube or Vimeo URL.

[⌊Video Lightbox block settings in the sidebar.⌉⌊Video Lightbox block settings in
the sidebar.⌉[

Video Lightbox block settings in the sidebar.

[⌊Video Lightbox shortcode generator under Media.⌉⌊Video Lightbox shortcode generator
under Media.⌉[

Video Lightbox shortcode generator under Media.

[⌊Video Lightbox popup playing a video on the frontend.⌉⌊Video Lightbox popup playing
a video on the frontend.⌉[

Video Lightbox popup playing a video on the frontend.

## Blocks

This plugin provides 1 block.

 *   Video Lightbox for YouTube/Vimeo Add a YouTube or Vimeo video that opens in
   a lightbox when the thumbnail is clicked.

## Installation

 1. Upload the `youtubefancybox` folder to your `/wp-content/plugins/` directory (or
    search for **Video Lightbox for YouTube/Vimeo** via **Plugins > Add New**).
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Add the Video Lightbox block, or generate a YouTube or Vimeo shortcode from **Media
    > Video Lightbox** and insert it into any post, page, or widget.

## FAQ

### How do I use the plugin after activating it?

Add the Video Lightbox block, or generate a YouTube or Vimeo shortcode from **Media
> Video Lightbox** and insert it into any post, page, or widget.

### Can I override the default dimensions on a specific shortcode?

Yes. You can override default dimensions using the `height` and `width` attributes
in the shortcode, or use the block editor to set custom dimensions.

### Does this plugin support official AMP?

Yes. When viewing content on an AMP-enabled request, the plugin automatically outputs
native `<amp-lightbox>`, `<amp-youtube>`, and `<amp-vimeo>` markup without loading
jQuery.

### How do I generate shortcodes quickly?

Navigate to **Media > Video Lightbox**, enter a YouTube or Vimeo video URL or ID
and dimensions, then click **Generate shortcode**. The plugin validates the input
and detects the provider automatically.

### Can I use the block editor?

Yes. Add the **Video Lightbox for YouTube/Vimeo** 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.

## Reviews

![](https://secure.gravatar.com/avatar/85f9ff173ff911bac7cd5645309f1c0a10ec9d66acb5395437469358d2e0722e?
s=60&d=retro&r=g)

### 󠀁[Very sleeeeek](https://wordpress.org/support/topic/very-sleeeeek/)󠁿

 [techieoriname](https://profiles.wordpress.org/techieoriname/) Onwa-asatö 25, 2019

Best lightbox plugin have seen

![](https://secure.gravatar.com/avatar/8e40f2811f0d93b5505ccf828ad1ba4c12e9a00e17535b8cd7aa887f9d0c2003?
s=60&d=retro&r=g)

### 󠀁[Elementor plugin doesn’t work](https://wordpress.org/support/topic/elementor-plugin-doesnt-work/)󠁿

 [dako77](https://profiles.wordpress.org/dako77/) Onwa-itolu 19, 2018 2 replies

After hours of testing and finding problem I deactivate this plugin. I had problem
with text editor. This text editor wont show my text inserted in text editor… So
with this plugin is Elementor useles…

![](https://secure.gravatar.com/avatar/ec8b8422bb465ae8bc396e91e6078b8974b35a964447f8c8ecc86edf1ac2b281?
s=60&d=retro&r=g)

### 󠀁[Good and Useful plugin!](https://wordpress.org/support/topic/good-and-useful-plugin-4/)󠁿

 [RealMag777](https://profiles.wordpress.org/realmag777/) Onwa-atö 3, 2016

Thank you 😉

 [ Read all 7 reviews ](https://wordpress.org/support/plugin/youtubefancybox/reviews/)

## Contributors & Developers

“Video Lightbox for YouTube/Vimeo” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Milind More ](https://profiles.wordpress.org/milindmore22/)

[Translate “Video Lightbox for YouTube/Vimeo” into your language.](https://translate.wordpress.org/projects/wp-plugins/youtubefancybox)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/youtubefancybox/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/youtubefancybox/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/youtubefancybox/)
by [RSS](https://plugins.trac.wordpress.org/log/youtubefancybox/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.0.2

 * Updated readme.txt to remove shortcode references and highlight block editor 
   usage.

#### 3.0.1

 * Bump version to 3.0.1 for WordPress.org plugin repository.

#### 3.0.0

 * Added the Video Lightbox block for YouTube and Vimeo.
 * Added custom placeholder images, responsive dimensions, autoplay, and Default,
   Dark, and Cinema block styles.
 * Added a combined shortcode generator under Media with automatic provider detection
   and URL or ID validation.
 * Updated plugin metadata, dependencies, and code structure.

#### 2.7.1

 * Modernized admin settings and shortcode generator interfaces.
 * Optimized JavaScript and modularized admin stylesheet loading.
 * Updated compatibility for modern WordPress and PHP standards.

#### 2.7.0

 * Fixed Vimeo data retrieval issue.
 * Updated compatibility tested tag.

#### 2.6.2

 * Fixed shortcode generator URL parsing.

#### 2.6.1

 * Renamed plugin and updated assets for WordPress.org compliance.

#### 2.6.0

 * Added official AMP plugin support with native AMP lightbox components.

#### 2.0.0

 * Added support for Vimeo videos and shortcode generation.
 * Updated Colorbox script.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **3.0.2**
 *  Last updated **4 weeks ago**
 *  Active installations **100+**
 *  WordPress version ** 6.7 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 8.1 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/youtubefancybox/)
 * Tags
 * [lightbox](https://ibo.wordpress.org/plugins/tags/lightbox/)[popup video](https://ibo.wordpress.org/plugins/tags/popup-video/)
   [shortcode](https://ibo.wordpress.org/plugins/tags/shortcode/)[vimeo](https://ibo.wordpress.org/plugins/tags/vimeo/)
   [youtube](https://ibo.wordpress.org/plugins/tags/youtube/)
 *  [Advanced View](https://ibo.wordpress.org/plugins/youtubefancybox/advanced/)

## Ratings

 3.3 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/youtubefancybox/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/youtubefancybox/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/youtubefancybox/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/youtubefancybox/reviews/?filter=2)
 *  [  3 1-star reviews     ](https://wordpress.org/support/plugin/youtubefancybox/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/youtubefancybox/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/youtubefancybox/reviews/)

## Contributors

 *   [ Milind More ](https://profiles.wordpress.org/milindmore22/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/youtubefancybox/)