A YouTube FancyBox uses fancy-box(light-box) to show YouTube video in a popup box on click of thumbnail which is generated from YouTube video.
A Youtube Fancybox 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 shortcode in page, post and text widget.
[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 a 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>"]
I have installed plugin but nothing happen?
You need to add shortcode to you page, post or your text widget
Does this plugin has backend
Yes, It does it's in plugin submenu named as "YTubeFancyBox".
I need to set default height and width
You can set default height and width at admin side
I don't want to play video after lightbox opens
You can set default auto play option at 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 backend by inserting youtube video url
Can I use youtube video url instead of videoid
Yes, you can add
[youtube url="<youtube video url here>"]
Now supports Vimeo.
Updated for wordpress 4.0
Now supports ssl (https)
Improved look and feel
Updated text domain to be same as slug
Updated code to make plugin translation ready, latest version of fancybox js updated
Fixed shorcode inside shortcode bug with return output
Updated for wordpress 4.1
Fixed iphone ipad bugs
First release. Compatible with IE9,IE10, Chrome, Firefox
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
Backend of Plugin
add shortcode in page
Thumbnails generated from youtube video
Youtube Video in Lightbox