Replay when ever in view

hey im trying to get an animation to replay whenever it comes into view, how can i do this using Lottie files?

Are you asking for in After Effects or in your CMS?

I’m trying to solve the same question as adam1. How can i get an Lottie to play when it enters the view port, then stops. It leaves the view port. And replays when the Lottie comes back into the view port? I’m using React. Thank you