This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/***************************************************************************************************** | |
Load a video inside a lightbox - https://gist.github.com/de-ux/6010476 | |
*****************************************************************************************************/ | |
// replace .lightbox-video-trigger with a selector for whatever jQuery object you'd like to use as the trigger. | |
$('.lightbox-video-trigger').click(function(e) { | |
e.preventDefault(); |