Video lightbox without Previous & Next videos?

Hello,

I’m trying some customization that requires a lightbox — I see that X/Pro use the iLightbox software.

I want to create a lightbox that loads up a video (from Wistia), but doesn’t load additional “previous” and “next” videos — just the single video. I haven’t been able to find any such option using the shortcodes. Is there a way to access it another way, for example directly accessing the iLightbox software through code?

Thanks!

Hi,

To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

Hi,

I’ve implemented a lightbox using a different plugin but it’s behaving kind of strangely and of course, it adds code, so as I mentioned, it would be good if the already-included lightbox were a better solution. The page (currently) is here — scroll down to the thumbnails:

http://phantaco.wwwls21.a2hosted.com/video-portfolio/

Hi again,

Thank you for providing the URL. You’re using a third party plugin for Lightbox, regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script.

However you can use our built-in Lightbox feature please see https://theme.co/apex/forum/t/shortcodes-lightbox/165 and check out the Video Lightbox Setup section in there. For demo you can visit http://demo.theme.co/integrity-1/shortcodes/responsive-lightbox/

Hope this helps!

Hi Nabeel, I didn’t ask for help with the third party plugin. Please re-read the original post. I asked for help with the lightbox included with the theme. The third party plugin gets close to what I want, but is still problematic, that’s why I wanted to know if there was a way to do it with the iLightbox.

The important part is, I want to create a lightbox that loads up a video (from Wistia), but doesn’t load additional “previous” and “next” videos — just the single video.

Thanks.

Hi again,

Sorry for the confusion. You can give it a try with Essential Grid, please see https://www.themepunch.com/essgrid-doc/working-with-video/

Alternatively you can try it with Shortcodes too for example:

[image class="videoLightbox" src="image-1.jpg" link="true" href="//player.vimeo.com/video/84751465" alt="Text"]
[image class="videoLightbox" src="image-2.jpg" link="true" href="//player.vimeo.com/video/84751465" alt="Text"]

[lightbox selector=".videoLightbox" opacity="0.875" prev_scale="0.75" prev_opacity="0.75" next_scale="0.75" next_opacity="0.75" orientation="horizontal"]

Then to remove previous and next videos add the following CSS code in your Customizer:

.ilightbox-holder.ilightbox-next, .ilightbox-holder.ilightbox-prev {
    display: none !important;
}

Hope this helps!