Does anyone know if Velo Code (no custom code) can be used to find out exactly when a Lotti animation has finished loading or once the animation has finished playing? And How?
it’s about Wix Studio
When you visit my site I want to install a pre-loader that plays a 75 frame lottie animation and then the container in which the animation is should be slid up. But since the loading of the Lottie loads at different speeds depending on the user, I cannot work with fixed numbers (e.g. 4 seconds), otherwise it will slide up too quickly or too slowly
I already have it with if (lottieElement.rendered) then lottieElement.onViewportEnter() then lottieElement.play() then a setTimeout and in it the upslide function. But it does not work.
Maybe someone has a tip for me?
This is how it should look