All Lightbox shortcodes stopped working after the update

Hi!

I had lightbox videos on the site for the long time, and after the update they all stopped working on desktop click.
They still work on mobile touch.

Here is a test page: https://www.outwardboundcroatia.com/en/video-test/.

Here is my code:
(I have a play button overlay, but it is the same with or without it, that is not the problem).

<a class="x-img ltbx-video x-img-link video-cover" href="#"
data-options="thumbnail: '#', width: 1080, height: 608">
<img src="#" class="video-cover-img">
<img src="#" class="video-play">
</a>
[lightbox selector=".ltbx-video"]

I have troubleshooted it in various ways, but I have no solutions left. Do you have any ideas?

Thanks!

Hi There,

It might be the caching issue.

The lightbox is working fine on my end:

Could you please purge all the caches a try again?

Thank you.

I have cleared all browser cache (Both Chrome and Firefox), tried the Browser safe mode, cleared CSS style cache, and Server cache. No luck on two laptops.

My laptop has touch enabled, and it works that way on the test page. It is just the click that doesn’t.

Ok if this is just local, but really strange.

Thanks!

Hi Misho,

I have checked the page you have linked as I am not getting any issue with the lightbox as well.

Have you tried checking in other devices like on mobile?

Hi! Touch works even on desktop with touch-enabled screen, so no issues on mobile. Only click is affected. It seems that Chrome and Firefox have most issues, while Edge works even on my laptop.

I am getting complaints from other people that Videos are not working.

Firefox/Chrome:
Video don’t start at all.

Edge:
If the video is the only one on the page, it works. If there are other videos (they have unique lightbox selectors), then the first one works, while the other ones are redirecting to Youtube/Vimeo, instead of opening the lightbox.

Before the update:
Everything worked for years.

Thanks!

Hi @Misho,

I just checked and it works too on my Edge, Firefox and Chrome browsers. It plays upon click, though, if you’re on the hybrid device then that could be the issue as it only triggers click or touches. And a hybrid device is considered a mobile where touch events are more prioritized. Hence, that’s why touch works by default, as there is no way to detect if a device is a hybrid (desktop + touch) so it fallbacks to touch like mobile devices.

I’ll continue checking but I can’t promise any fixes, though up to now, it works okay on my views.

Thanks!

Hi @Rad!

Thanks for your reply.

I have turned off the touch on my device to rule this out, and the reports are also coming from devices that have no touch capabilities.

Really strange.

Hi @Misho

I also couldn’t reproduce this issue on Chrome or Firefox, if you can try “Browserstack” tool (it has 30 minutes free usage) with the aid of your users data I believe you can narrow it down to certain browser/OS combination, if so, please let us know so we can reproduce this issue.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.