

After you render your animation, you can take a snapshot of any frame in the animation and save it to your disk. You can preview or take an svg snapshot of the animation to use as poster. A "data-name" attribute to specify a name to target play controls specifically.A "data-animation-path" attribute with relative path to the data.json.

Create a div that will contain the animation.Add the data.json to a folder relative to the html.Or you can call archAnimations() after page load and it will search all elements with the class "lottie". If you do it before page load, it will automatically search for all tags with the class "lottie". You have to include a div and set it's class to "lottie". loadAnimation ( ) ĭoing this you will have to handle the canvas clearing after each frameĪnother way to load animations is adding specific attributes to a dom element. Skip directly to "Install third-party extensions" Option 6:

Install the zxp manually following the instructions here: Open the file ~/Library/Preferences/.6.plist and add a row with key PlayerDebugMode, of type String, and value 1. Open the registry key HKEY_CURRENT_USER/Software/Adobe/CSXS.6 and add a key named PlayerDebugMode, of type String, and value 1. To make sure it was copied correctly type) $ ls /Library/Application\ Support/Adobe/CEP/extensions/bodymovin $ cp -R YOURUNZIPEDFOLDERPATH/extension /Library/Application\ Support/Adobe/CEP/extensions/bodymovin Library/Application\ Support/Adobe/CEP/extensions/bodymovin

Lottie for Web, Android, iOS, React Native, and Windows
