Lottie Animation Preloader

Hey all,

Probably a long shot, but still worth it to try and ask:
Does anyone know if its possible to change the preloader of the Lottie Embeds?

Per default its the 3 dots that show up for a split second while initializing the Lottie object into the wix site. But those three dots get get huge and blown out of the Lottie object is big, which makes me wish I could adjust it.

Any pointers will be helpful!

Hey @vineshgayadin!

As far as I’m aware, this isn’t something that can be changed. Perhaps using Velo you could hide the Lottie element until it’s loaded :person_shrugging:

Either way, this is a great idea, and I’ll share it with the teams :slight_smile:

1 Like

You might actually be able to catch it before it shows up by using the .src attribute of the lottie element. You can try to assign it to undefined as soon as the page loads, in the $w.onReady() event, or in the code itself.

Another code free option would be to set a show animation on the element after maybe half a second, which should give your animation time to load. Maybe Fade In, so it doesn’t appear janky.

2 Likes

Those are some great ideas @chris-derrell! I will give that a try. Thank you

1 Like