Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    Hi drweby2,

    You can disable lightbox bundled to YTC plugin by enabling option Disable lightbox on Video tab in global plugin settings.

    Then in your custom JavaScript file add prettyPhoto attribute like this:

    jQuery(document).ready(function(){
    	jQuery('.ytc-lightbox').attr('rel', 'prettyPhoto');
    });

    Or trigger .prettyPhoto() on elements with class .ytc-lightbox

    Cheers

    Thread Starter drweby2

    (@drweby2)

    when i add it manually to the plugin code it work great
    but when i add it by the above code it appear in the source code but not open lightbox but redirect to youtube website

    Thread Starter drweby2

    (@drweby2)

    fixed , thx alot

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Request : give option to use another lightbox plugin’ is closed to new replies.