Plugin nebyl testován na 3 nejnovějších verzích WordPressu. Nemusí už být tedy podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může být nestabilní.

YouTube FancyBox


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>"]

Snímky obrazovky

  • Backend of Plugin
  • add shortcode in page
  • Thumbnails generated from youtube video
  • Youtube Video in Lightbox


  1. Upload youtubefancybox folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress
  3. Place shortcode like in your page, post , text widget

Časté dotazy

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

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


19. 3. 2018
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...
Přečtěte si všech 7 recenzí


YouTube FancyBox je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.


Přehled změn


Fixes warning.


Fixed issue with directly redirecting to video.
Added Extended version of colorboxjs


Added muted autoplay for Chrome and Safari.


Fixes Widget text minor issue.


Updated colorboxjs

Now supports Vimeo.


Updated colorboxjs

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