Lottie plays only when logged in

Hi!

On this website, right above the testimonial slider is a Heading that says “Iskustva klijenata”.

There is a subtle lottie animation of a heart flying up behind the headline. To achieve this, I had to place it in an absolutely positioned div.

The animation plays when logged-in, but it won’t play when logged-out.

This seems like some issue to report, because stuff should work the same regardless of the login status.

Any idea what might cause this issue?

Thank you!

When I’m not logged in cs-classic is set to defer. I suspect a performance plugin as I don’t think we control this at all. This is really the only script that can’t be set to defer. cs-lottie and x.js as a result are crashing, those probably can be set to defer though. The same thing seems to be happening with jQuery, but most of code is not affected by that. I’d maybe try a cache clear too. Let me know if this helps and have a great day.

image

1 Like

All right, that was it! Thanks!

It hasn’t occurred to me because Lottie plays normally on other pages, on the same website. Kind of strange.

Thanks again!

1 Like

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