Tagged: x
-
AuthorPosts
-
March 28, 2017 at 2:06 am #1422663
Hi,
If you look at this page – the button below the headline (and the text), is it possible to link that button to a YouTube video, so that when people clicks on it, it will open a pop-up with the video?
March 28, 2017 at 8:39 am #1423004Hi,
Instead of using a button element, you can use this code in your text element instead.
<a class="x-btn x-btn-small" href="https://www.youtube.com/embed/uGtSYLzpsw0?rel=0&showinfo=0" data-options="thumbnail: '', width: 1080, height: 608""><i class="x-icon mvn mln mrs x-icon-youtube-play" data-x-icon="" aria-hidden="true"></i>Se video om Lydstudiet.com</a>
Hope that helps
March 28, 2017 at 12:22 pm #1423208Ok. Great, but I really don’t want to lead people away from the page. Can’t it just be a pop-up? And not in full screen?
March 28, 2017 at 3:51 pm #1423449Hi There,
You can use the lightbox.
You can use the following code on a RAW Content Element in Cornerstone.
[button class="btn-lightbox" href="http://video-link.mp4" title="A Video" lightbox_video="true"][icon type="play-circle"]Watch Our Demo[lightbox selector=".btn-lightbox"][/button]
You may also refer to this link for some guide:
https://community.theme.co//kb/shortcode-walkthrough-lightbox/Hope this helps.
-
AuthorPosts