Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #23080

    Max K
    Participant

    I need to create a slider around 6 slides, each with text layers, and full-width background images, that, when clicked, either play a unique video in a lightbox, fullscreen, or in the slider itself. Each slide needs to play a different video. Here is what I’ve looked into:

    – A slide with a transparent background, and a full size video layer, that plays when clicked. The problem is that the video plays behind the text and button layers–I need it to cover those when played.

    – A background image (set in Background Source) with a link to the video entered above, in the Slide Link input box. This opens the video in a new page, but I don’t know how to get it to open in a lightbox.

    – A transparent background with an image layer that links to the video in the “Layer Links & Advanced Params”. Is there a class I can add to make this open in a lightbox? From your documentation, it seems that opening video in a lightbox requires using an image shortcode, not just specifying the right class.

    I’ve read through all of your slider and lightbox documentation, and read the documentation on the Revolution slider sight.

    Thanks!

    #23085

    Max K
    Participant

    I figured out how to make it work for an image layer–for anyone who is trying to do this, you add a class to the image layer link, such as “vid”. Then you add this shortcode below the slider shortcode:

    [lightbox selector=”.vid”]

    However, I’d still love to know if anyone knows how to set a class on the Slide Link option, so I can easily set a background image for the slide and have it link to the lightbox.

    There is cryptic reminder text next to the text box that reads:

    A link on the whole slide pic (use %link% or %meta:somemegatag% in template sliders to link to a post or some other meta)

    Perhaps that holds the key.
    Thanks.

    #23091

    Max K
    Participant

    This still doesn’t work. Although it opens the video in a lightbox, it is missing the “lightbox_video=true” tag that the shortcode would have, which means it opens a lightbox that is the full size of the window, stretching the video and in general, looking terrible.

    Please help. It doesn’t seem like this should be that hard to do.

    #23320

    Kory
    Keymaster

    Hey Max,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL as stated on the forum entrance page. This is to ensure that we can provide you with a tailored answer to your situation. Once you have have provided us with your URL, we will be happy to assist you with everything.

    #126792

    jamiedunne
    Participant

    Any Update to this problem…?

    i too would like a video lightbox to open when i click on an image / layer/ button inside a slide on my slider…. In fact …do shortcodes work at all inside the slider ? Or is there a JS hack that can fix this … like loading the iLightbox JS & CSS and using the default ” rel=lightbox ” etc to a link. thanks to anyone who can help here.

    #126941

    Rubin
    Keymaster

    Hey There,

    All shortcodes work inside a slide so you should be able to add any shortcode into Revolution Slider. Max did not yet provide an address of your site so we can’t see whats going wrong.

    Here’s how a video lightbox would look like:

    [image src="image-1.jpg" link="true" href="//www.youtube.com/embed/kfVsfOSbJY0" lightbox_video="true"]
    [image src="image-2.jpg" link="true" href="//player.vimeo.com/video/84751465" lightbox_video="true"]
    [lightbox]

    You can read more about this here: http://theme.co/x/member/kb/shortcode-walkthrough-lightbox/