Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Pro – Shortcode for Vimeo – Lightbox Opens – Video Doesn't Play
- This topic has 9 replies, 2 voices, and was last updated 5 years, 3 months ago by wpCommerce.
-
AuthorPosts
-
July 26, 2019 at 12:14 am #15495StacyMember
Purchased Pro.
Using Shortcode:
[video_lightbox_vimeo5 video_id=316136402 width=640 height=480 anchor=https://wordpress-92552-928716.cloudwaysapps.com/wp-content/uploads/2019/07/VideoImagesOnComputer.jpg]
Tried with Quotation Marks
[video_lightbox_vimeo5 video_id=”316136402″ width=”640″ height=”480″ anchor=”https://wordpress-92552-928716.cloudwaysapps.com/wp-content/uploads/2019/07/VideoImagesOnComputer.jpg”%5D
Actual video:
[https://player.vimeo.com/video/316136402]
Page residing on:
[https://wordpress-92552-928716.cloudwaysapps.com/test-video-popup/]
All the searching looks like it took me to older versions of the plugin and the code was different.
Thank you so much!
July 26, 2019 at 7:50 am #79742wpCommerceModeratorHi, Please use our Lightbox Ultimate shortcode for embedding a Vimeo video:
July 27, 2019 at 5:45 pm #79743StacyMemberStill no luck. Tried both of these and now the anchor image is not loading.
[wp_lightbox_prettyPhoto_video link=”https://vimeo.com/316136402″ width=”500″ height=”500″ source=”https://wordpress-92552-928716.cloudwaysapps.com/wp-content/uploads/2019/07/VideoImagesOnComputer.jpg”
title=”Sanitation Conversation Video”]
[wp_lightbox_prettyPhoto_video link=”https://player.vimeo.com/video/316136402″ width=”500″ height=”500″ source=”https://wordpress-92552-928716.cloudwaysapps.com/wp-content/uploads/2019/07/VideoImagesOnComputer.jpg”
title=”Sanitation Conversation Video”]
July 28, 2019 at 5:20 am #79744wpCommerceModeratorThere is a hidden line break in your shortcode right before the title parameter. Please copy and paste it from here:
[wp_lightbox_prettyPhoto_video link=”https://vimeo.com/316136402″ width=”500″ height=”500″ source=”https://wordpress-92552-928716.cloudwaysapps.com/wp-content/uploads/2019/07/VideoImagesOnComputer.jpg” title=”Sanitation Conversation Video”]
July 28, 2019 at 6:39 pm #79745StacyMemberI wish that was the issue. Can you think of anything else?
gyazo.com/e7cc7295b85359d7932cc71868aa7ca8
July 29, 2019 at 3:38 am #79746wpCommerceModeratorThere is actually an error on that page:
Mixed Content: The page at ‘[https://wordpress-92552-928716.cloudwaysapps.com/test-video-popup/]’ was loaded over HTTPS, but requested an insecure resource ‘[http://player.vimeo.com/video/316136402?title=0&byline=0&portrait=0[‘. This request has been blocked; the content must be served over HTTPS.
This is the script that is causing this issue: [https://wordpress-92552-928716.cloudwaysapps.com/wp-content/plugins/js_composer/assets/lib/prettyphoto/js/jquery.prettyPhoto.min.js]
August 2, 2019 at 12:57 am #79747StacyMemberHi! This is my last try to get this to work. Mixed content is fixed. We have moved this site live to our url. This is not the error,
jquery.prettyPhoto.min.js:10 Uncaught TypeError: Cannot read property ‘3’ of null
at HTMLDivElement.<anonymous> (jquery.prettyPhoto.min.js:10)
at HTMLDivElement.d.complete (jquery.js:4)
at i (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at i (jquery.js:4)
at n.fx.tick (jquery.js:4)
I have tried switching themes and even deactivated all plugins except yours and we get the same error,
August 2, 2019 at 4:17 am #79748wpCommerceModerator@Stacy, Can you please provide a link to the new URL? Lightbox is heavily dependent on JavaScript. So if there is one JavaScript error it can make the whole page broken.
In JavaScript, multiple copies of a script are not allowed on the same page. We have tested that there is no JavaScript error in our plugin. But there may be a conflict with another plugin if it includes the same script.
August 2, 2019 at 12:58 pm #79749StacyMemberSure! sanitationconversation.com
I did try disabling all of the plugins and even changing themes.
Fingers crossed.
August 4, 2019 at 4:03 am #79750wpCommerceModeratorThanks. Are you using any HTML minifier? I see two JavaScript errors on that page that are possibly caused by HTML minification (our shortcode HTML has been compressed into a single line).
We have sent an email to your registered email address for site access. Let me know if you don’t receive it.
-
AuthorPosts
- You must be logged in to reply to this topic.