Directory / plugin
Video Lightbox for YouTube/Vimeo
v3.0.2 · by Milind More
Display YouTube and Vimeo videos in a responsive lightbox using block editor controls or shortcodes, with official AMP support.
About this plugin
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, andamp-vimeocomponents on AMP requests.
Block Editor
- Add the Video Lightbox for YouTube/Vimeo block.
- Select Edit video URL and enter a public YouTube or Vimeo URL.
- Optionally choose a custom placeholder image and adjust display settings in the block sidebar.
Source Code
The source code is available on GitHub.