Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › WP-Lightbox-Ultimate iframe vzaar embed issues
Tagged: lightbox
- This topic has 9 replies, 4 voices, and was last updated 4 years, 5 months ago by admin.
-
AuthorPosts
-
June 9, 2020 at 4:49 am #14182heartwoodguitarMember
Hi,
We recently upgraded from Plugin WP-Video Lightbox to Plugin WP-Lightbox-Ultimate as we have a problem on mobile screens with the positioning of Vzaar embedded videos.
Our theme functions.php was modified to dynamically create button links according to the WP-Video Lightbox documentation “Using iFrame To open your content inside an iframe:”.
But it appears WP-Lightbox-Ultimate has no capability to embed links in an iFrame similar to WP-Video Lightbox and the only way is to recode the functions.php along the lines of http://lightbox.tipsandtricks-hq.com/vzaar-video-in-lightbox/
Is this correct?
Or is there another way to embed vzaar videos in WP-Lightbox-Ultimate via iFrame?
June 9, 2020 at 8:15 pm #80676wzpModeratorHave you read this part of the documentation?
http://lightbox.tipsandtricks-hq.com/vzaar-video-in-lightbox/
June 9, 2020 at 11:34 pm #80677heartwoodguitarMemberDid you read my message, where I directly referred to that link?
That’s not what I was asking.
Could you please reread what I wrote, and respond to my question. Thanks!
June 10, 2020 at 12:22 am #80678adminKeymasterHi, We don’t use the iframe approach in Lightbox Ultimate. The code will need to be changed according to the documentation you pointed out.
June 10, 2020 at 12:36 am #80679heartwoodguitarMemberThanks for the confirmation.
June 11, 2020 at 9:44 pm #80680heartwoodguitarMemberHow do you submit bugs for the free version of the plugin.
One of the other issues apart from responsive video issue on smartphone screen sizes with wp-video-lightbox (which is why we are looking at Ultimate) was the video isn’t centered.
I’ve managed to get the video centred in the wp-video-lightbox lightbox popup, but the only way to do it was to modify one of the core plugin files: Pluginswp-video-lightboxjsvideo-lightbox.js to include some extra css code to align the video within the iFrame.
From
iframe_markup: ‘<iframe src =”{path}” width=”{width}” height=”{height}” frameborder=”no” allowfullscreen’
To
iframe_markup: ‘<iframe src =”{path}” width=”{width}” height=”{height}” frameborder=”no” style=”display: block;margin: 0 auto;” allowfullscreen’
But that will obviously break the plugin chain for updates.
Can you modify wp-video-lightbox to incorporate this change?
June 13, 2020 at 4:16 am #80681wpCommerceModerator@heartwoodguitar, Thanks. We have updated our video lightbox plugin with these changes.
June 14, 2020 at 1:49 am #80682heartwoodguitarMemberGreat, ty
June 14, 2020 at 2:15 am #80683heartwoodguitarMemberWhen will that be released for update in WordPress?
Version1.8.5
Date Modified2020-01-18
June 15, 2020 at 12:07 am #80684adminKeymasterSometimes that page goes outdated since it needs a manual edit. You can get the latest from here:
-
AuthorPosts
- You must be logged in to reply to this topic.