# Video Lightbox for YouTube/Vimeo

Contributors: milindmore22

A Video Lightbox for YouTube/Vimeo uses fancy-box(light-box) to show YouTube video in a popup box on click of thumbnail which is generated from YouTube video.

Offical Wordpress Plugin Repo :
https://wordpress.org/plugins/youtubefancybox/
## Description

A Video Lightbox for YouTube/Vimeo uses colorbox /lightbox (thanks to  Jack Moore(http://www.jacklmoore.com/colorbox/) to show YouTube video in a popup box on click of thumbnail which is generated from 
YouTube video. you can use it with shortcode in page, post and text widget.

## Example:
```sh
`[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 genrated shorcodes also you can set default height, width and a option to play video automatically or not

## Installation

1. Upload `youtubefancybox` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Place shortcode like`[youtube videoid="<videoid goes here>"]` in your page, post , text widget 

## FAQ
https://wordpress.org/plugins/youtubefancybox/faq/

## Screenshots
https://wordpress.org/plugins/youtubefancybox/screenshots/

## Upgrade notice

Tested upto 5.8