Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1080998

    HI
    I have 2 text links in the page below that wanted to open in a lightbox instead of a separate tab opening in Vimeo or YouTube. I had these links:

    <a class="mfp-iframe lightbox-added" href="https://youtu.be/875DFvXB630" target="_blank" rel="noopener">Om De Kreatives Kontor</a>
    <a class="mfp-iframe lightbox-added" href="https://vimeo.com/315667049" target="_blank" rel="noopener">Samarbejde mellem CULINN og Turning Tables: Mød Abyan</a>

    but could not get the lightbox to open.

    Now I tried the links in a button element, and the Vimeo link works fine but the YouTube one doesn’t.
    the YouTube button link is:
    [av_button label=' SE VIDEO: Om De Kreatives Kontor' link='manually,https://youtu.be/875DFvXB630?iframe=true' class='open-popup-link' link_target='' size='medium' position='left' label_display='' icon_select='yes' icon='ue897' font='entypo-fontello' color='dark' custom_bg='#444444' custom_font='#ffffff' av_uid='av-3x1gt6' admin_preview_bg='']

    I looked at this thread https://kriesi.at/support/topic/open-lightbox-with-an-iframe/#post-710141 and tried adding ?iframe=true” class=”open-popup-link” but that didn’t work – the lightbox opens but the video doesn’t play.
    Can you help me with this?
    thanks
    Nancy

    • This topic was modified 8 months, 3 weeks ago by  Munford.
    • This topic was modified 8 months, 3 weeks ago by  Munford.
    #1082209

    Hey Munford,

    Thank you for contacting us.

    Please refer to this link for lightbox usage.

    Best regards,
    Vinay

    #1082237

    thanks that worked fine.
    IS there a reason the youtube videos do not work as direct links like vimeo?

    #1083901

    Hi,

    The alternate youtube url format should work.

    https://www.youtube.com/watch?v=875DFvXB630
    

    Have you tried that? The other format is not going to be recognized by the lightbox script.

    Best regards,
    Ismael

    #1083973

    Hi Ismael
    Thanks – that’s what I was looking for!
    best
    Nancy

    #1084355

    Hi,

    Great! Glad it helped.

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘play video links in lightbox’ is closed to new replies.