video in the lightbox

Apr 16, 2012 at 5:17 PM


nice module, Will, congratulations.
Do you think it's possible to open up a video instead of an image in the lightbox when clicking on a gallery image?
How can that be achieved?



May 4, 2012 at 7:43 AM

Even though this module doesn't expose that as a feature, it is absolutely possible with the jQuery plugin that this module uses.  You can popup anything that exists in HTML.

May 4, 2012 at 2:49 PM


concretely how do I implement it? Where do I put the video url? Perhaps in the 'onstart callback' field? Or do I need to use some javascript code?



May 7, 2012 at 10:14 PM

The way you implement it is nearly the same way anyone would...  Since there isn't a known module that provides this functionality to you already, you would likely need to use the HTML module for the markup, and an Injection Module for the requisite jQuery.

Are you going to do this with self-hosted videos, or embedded videos from places like YouTube?