How can i use a button to launch a video in a lightbox?

I want to use this button shortcode and launch a video in a lightbox:
[button title="     Watch video     " link="#" target="_blank" class="" download="" rel="lightbox" onclick="" size="4" icon="icon-right-open" icon_position="right" color="#FFFFFF" font_color="#00c853" ]

I want the video to show up exactly the way the CALL TO ACTION shortcode works https://themes.muffingroup.com/be/theme/shortcodes/content-elements/#video

The reason i can't use the CALL TO ACTION is because i want the button to use a bigger size and custom colours.

Pls advise :)

Comments

  • Hi,
    Please paste that code in the "Column" item and insert the video in the "CONTENT HERE" place.
    [button title="Button" link="#you-custom-id" target="_blank" class="" download="" rel="lightbox" onclick=""]
    <div id="you-custom-id" style="display:none">CONTENT HERE</div>
    Thanks
Sign In or Register to comment.