Tagged: Lottie on mobile
Hi,
It’s been a while but have just discovered Lottie files and that Enfold has support for it. they remind me of the good old Flash animation files :) .
I was playing around with the animated bouncing boxes you have and I can get it to do what I want when on the browser, which is to have it activated only on hover.
However on mobile the Lottie animation automatically plays. Is there a way in which to have the image stay static or perhaps to have it play once scrolled into the viewport? Would be a great option to have.
Thanks
John
have you a link to the dottie file your are talking about to check if it is not a matter of that file.
Sorry no, I don’t have a link to the specific file. In any case, it can be the one that comes with Enfold. It displays the same behaviour.
Hi,
Thanks for your question, for mobile to have the Lottie animation play only once whe it comes into the viewpoint, try adjusting the player settings like this:
I have tested this on my test site and it works correct as long as you have some content before the file so scrolling is needed to view the file:
that play on hover won’t work for mobile devices because they don’t have a hover state.
Please give this a try.
Best regards,
Mike
Thanks Mike. Will try the settings and have more of a play with it.
I think we can close this for now.
Cheers
John