Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate: youtube video and playlist no longer display as popup
- This topic has 4 replies, 2 voices, and was last updated 7 years, 9 months ago by kidpower.
-
AuthorPosts
-
February 11, 2017 at 1:08 am #14003kidpowerSpectator
Hello!
We recently upgraded to Lightbox Ultimate and replaced some embedded youtube videos and playlists on our site with the shortcode.
This was working to display a pop-up from an anchor image just fine until yesterday.
Now both the videos and the playlists are opening as full-screen in the browser with no way to close the video other than to hit the back button in the browser. This is the case in both firefox and chrome.
Here’s the shortcode we are using – which worked great for a few days and now does not pop-up in a lightbox any longer. Our Video one is below – the playlist shortcode is the same except for where the ID goes within the shortcode:
[wp_lightbox_ultimate_youtube_video_embed videoid=”aLZo7I1z8t8″ playlist=”” width=“840” height=“480” hd=”0″ autoplay=”1″ display_control=”1″ fullscreen=“0” autohide=”2″ theme=”dark” use_https=”1″ enable_privacy=”” show_logo=”1″ showinfo=”1″ auto_popup=”” direct_embed=”” anchor_type=”image” text=”” source=”https://www.kidpower.org/wp-content/uploads/2017/02/filename.png”%5D
Please see [https://www.kidpower.org] for the playlist that is near the top of the site – and scroll down for a single video – both are having the same behavior, as well as others on our site.
Thank you
February 11, 2017 at 1:33 am #75180wpCommerceModeratorHi, I believe the shortcode got formatted when you made the changes. The double quotes in the width, height and fullscreen parameters don’t look right. Please manually change it and see how it goes.
Alternatively you can just copy the shortcode from here:
[wp_lightbox_ultimate_youtube_video_embed videoid=”aLZo7I1z8t8″ playlist=”” width=”840″ height=”480″ hd=”0″ autoplay=”1″ display_control=”1″ fullscreen=”0″ autohide=”2″ theme=”dark” use_https=”1″ enable_privacy=”” show_logo=”1″ showinfo=”1″ auto_popup=”” direct_embed=”” anchor_type=”image” text=”” source=”https://www.kidpower.org/wp-content/uploads/2017/02/filename.png”%5D
Make sure to paste it as “plain text” into the visual editor.
February 11, 2017 at 4:33 am #75181kidpowerSpectatorThank you – that’s a great catch – unfortunately, fixing this did not change the behavior of the site with the shortcode for lightbox.
February 11, 2017 at 6:36 am #75182wpCommerceModeratorI see some JavaScript errors that are coming from your divi frontend builder script. I believe these errors are causing lightbox to not function properly. This post will show you how you can debug JavaScript errors on your site:
https://support.tipsandtricks-hq.com/forums/topic/debugging-javascript-errors-on-your-site
February 15, 2017 at 4:57 am #75183kidpowerSpectatorAha!! It was caused by a performance plugin setting to “defer parsing of javascript files”… All better now! Thank you for pointing me at the javascript errors.
-
AuthorPosts
- You must be logged in to reply to this topic.