Hi guys,I'm trying to have a video lightbox of a vimeo video with a simple "Click here to see our video". I tried suggestions I found in other similar posts, but haven't achieved what I want. Thank you.
Thanks for writing in.
Hi Rad,Here's the link to the website. Maybe I'm not using the right shortcode.
You need to do as follows:
<a href="http://vime.com/videoid" class="lightbox-go"> text </a>
Than add the following code to a Raw Code Element:
Let us know how it goes.
Hi guys,I tried the code provided but it is not working. here it is in a text page on the website. Also, is there a way for the background to be opaque black instead of white? thanks
You need to use the embed src url
Please change your code to this.
<a href="https://player.vimeo.com/video/245535173" class="lightbox-go" style="outline: none;" data-options="thumbnail: '', width: 1080, height: 608">Click here to see our video</a>
For more information kindly refer to the link below.
Hope that helps.
Thanks, yeah that worked. That being said, the lightbox has a white background. How can I change that to a black background, similar to an envira lightbox.
Please add the following CSS to Theme Options CSS
Hope it helps!
Thanks a lot for your help. One final question. How do I change the border around the video from white to black? or remove it
To remove the border please add this CSS
Otherwise, to make it black:
border: 2px solid #000;
Hi Bappi,Yes, that did the trick. The client noticed that there is a white shape that appears above the video before the video loads. Is there a way to remove this? Here's an image of what I mean.
Sorry, for the confusion. That white shape thing is actually the indication that your lightbox is loading. You can hide it with the custom CSS below, but we won't recommend it.
display: none !important;
Hi Friech,Thanks for your help. I'm not too familiar with lightbox shortcodes and you have all been very helpful with it, as always.
You're welcome !
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.