Play Lottie File Conditionally

Hello all,

This maybe a simple answer but…I am looking to play a certain Lottie file based on a users preference. I see that I can download JSON file and upload it to play it directly within the Lottie element. Is there a way to set this up dynamically. Ideally have a database with lotties attached to a number or text keyword.

Any help would be greatly appreciated :slight_smile:

You can just add conditionals on the Lottie element to determine what the JSON file’s source is and for what you are trying to accomplish an option set would probably fit best.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.