AvaloniaUI / Avalonia.Labs

Experimental Controls for Avalonia
MIT License
202 stars 29 forks source link

Can not display the Lottie animation #42

Open AAAlyer opened 1 year ago

AAAlyer commented 1 year ago

I failed to display my Lottie animation who's Lottie version is 5.5.2 with the Lottie controller. I am wondering whether there exist the maximum Lottie version that is supported by the Lottie controller.

xLEGiON commented 1 year ago

I've just tested it with a Lottie version 5.5.7 animation and it worked fine. Make sure it's a ".json" file because the ".lottie" files don't seem to work with this control. If it's ".lottie", you can open it as a ZIP file and extract the ".json" file from within the "animations" directory. Otherwise, feel free to share the animation and I can take a look.