Tagged: x
-
AuthorPosts
-
December 9, 2016 at 2:14 pm #1287705
tpinkusParticipantOk, here’s what’s happening.
I created a shortcode for a lightbox to popup a video. When I click save and got to the frontpage to test, it works as expected once maybe twice. When I look again or ask someone else to test/check, when clicked it goes to the URL of the video.
Yes, I have the latest version of X theme.
Here is my lightbox shortcode:
[image class="deltamedia" src="/wp-content/uploads/video-play-button.jpg" link="true" href="//fast.wistia.net/embed/iframe/kvml4ykq2v?autoPlay=true" lightbox_video="true"] [lightbox selector=".deltamedia"]See in action here: http://deltamediacorp.com — is on the 3rd slide
December 9, 2016 at 9:23 pm #1288066
RadModeratorHi there,
Thanks for posting in.
Ah, it’s within the slider. It usually happens since lightbox library is loaded first even before the slides load. Library should be loaded only after the slide is loaded. And the result is random depending on loading speed, hence, it may work randomly too.
Try adding this shortcode outside the slider,
[lightbox selector=".deltamedia"]You can add it on the last section of your page.
Thanks!
December 12, 2016 at 11:11 am #1290198
tpinkusParticipantThat seemed to work. THANK YOU 🙂
December 12, 2016 at 11:36 am #1290214
JoaoModeratorGlad to hear it,
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1287705 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
