My site is https://pacify.com
I currently have two vimeo videos on my site that open in lightboxes after clicking a button. I have the following code in a classic raw content element in cornerstone to achieve this:
[button class=“videoLightbox” type=“flat” shape=“pill” size=“large” style=“background:#6F59A5; border:#6F59A5; text-shadow:none” href="//player.vimeo.com/video/139599994?autoplay=1" title=“See Pacify in Action”][icon type=“play-circle”]See Pacify in Action[/button]
[lightbox selector=".videoLightbox" opacity=“0.25” prev_scale=“0.25” prev_opacity=“0.25” next_scale=“0.25” next_opacity=“0.25” orientation=“horizontal”]
These are working great, but I have two additional questions on this feature:
Firstly, I can tap outside the lightbox to exit, but is there a way to add an X in the upper corner so there is a more obvious way to close the lightbox?
Secondly, these open in a full screen on mobile, so the width of the lightbox extends beyond the boundary of my phone screen. Is there a way to make this feature more mobile-friendly?
Thank you!