Tagged: x
-
AuthorPosts
-
August 11, 2016 at 1:18 am #1126787
May RParticipantHello there.
I’m in the process of setting up Ubermenu. What I’d like to be able to do is this. Once I make my UberMenu, and an item is selected from the Submenu dropdown, I’d like to know how to make a YT video pop up for playing without being redirected to YT, that page or post once that menu item is clicked on.
For example…Soccer is the subheader…underneath it are dates related to games. Once a date is clicked on, (i.e. Aug. 1st game), the video pops right up from YT, Vimeo…without being redirected anywhere. Kinda like a lightbox image per-say, but having it be a video instead of an image.
Is there a way to accomplish this by chance?
August 11, 2016 at 4:16 am #1126943
Paul RModeratorHi May,
Thanks for writing in!
Yes, you can add something like this in a raw content element.
<a class="video-lightbox" href="//www.youtube.com/embed/kfVsfOSbJY0" data-options="width: 1080, height: 608">Aug 2 game</a><br> <a class="video-lightbox" href="//player.vimeo.com/video/84751465" data-options="width: 1080, height: 608">Aug 3 game</a> [lightbox selector=".video-lightbox"]Change href with your youtube or vimeo url
For more infomation kindly refer to the link below
https://community.theme.co/kb/shortcode-walkthrough-lightbox/
Hope that helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1126787 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
