Hi! I’ve found in documentation a way to have a video with LightBox when they click an image but I would like to have the same functionality on a button. I’ve tried a few options but it doesn’t work.
This is the video on image code
[x_image class=“videoLightbox” src=“IMAHELINK” link=“true” href="//www.youtube.com/embed/E2sSvVCRI4s" lightbox_video=“true”]
[x_lightbox selector=".videoLightbox" deeplink=“true” opacity=“0.875” prev_scale=“0.75” prev_opacity=“0.75” next_scale=“0.75” next_opacity=“0.75” orientation=“horizontal” thumbnails=“false”]
Has anyone made it work on a button?


