A Video Lightbox for YouTube/Vimeo uses colorbox thanks to Jack Moore to show YouTube and Vimeo video in a popup box on click of thumbnail which is generated from Youtube and Vimeo video.
you can use it with a shortcode in the page, post, and text widget.
The plugin now has support for the official AMP plugin.
[youtube videoid="<youtube videoid goes here>" height="<height goes here>" width="<width goes here>"] [youtube url="<youtube url goes here>"]
in the backend you can generate shortcodes also you can set default height, width, and an option to play video automatically.
Now Supports Vimeo
[vimeo videoid="<vimeo videoid goes here>" height="<height goes here>" width="<width goes here>"] [vimeo url="<vimeo url goes here>"]
youtubefancyboxfolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Place shortcode like
[youtube videoid="<videoid goes here>"]in your page, post, text widget
I have installed the plugin but nothing happens?
You need to add shortcode to your page, post, or your text widget
Does this plugin has backend
Yes, It does it’s in the plugin submenu named “YTubeFancyBox”.
I need to set default height and width
You can set the default height and width on the admin side
I don’t want to play video after lightbox opens
You can set the default autoplay option at the backend
I need to set different height and width for each Youtube thumbnail
You can set height and width for each image thumbnail in shorcode
[youtube videoid="<videoid>" height="<height>" width="<width>"]
Where can I get youtube video id
You can find youtube video id at the backend by inserting youtube video URL
Can I use youtube video URL instead of video id
Yes, you can add
[youtube url="<youtube video URL here>"]
Contributors & Developers
“Video Lightbox for YouTube/Vimeo” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
Fix: short code Generator.
Updated Tested Tag to 5.8
Renamed plugin and updated logo to avoid copyright violations.
Added Official AMP Plugin Support.
Tested up to 5.6
Tested up to 5.4.2
Fixed issue with directly redirecting to video.
Added Extended version of colorboxjs
Added muted autoplay for Chrome and Safari.
Fixes Widget text minor issue.
Now supports Vimeo.
Updated for WordPress 4.0
Now supports SSL (HTTPS)
Improved look and feel
Updated text domain to be the same as a slug
Updated code to make plugin translation ready, the latest version of colorboxjs updated.
Fixed shortcode inside shortcode bug with return output
Updated for WordPress 4.1
Fixed iPhone iPad bugs
First release. Compatible with IE9,IE10, Chrome, Firefox