Support for dotlottie files?
Opened this issue ยท 4 comments
The newer dotlottie format does not seem to work with the integration currently.
Isn't the gotlottie file format still in experimental stage?
Hi @giuseppelt - Sorry for the delay in responding.
It is no longer in experimental stage (as far as the web is concerned), and they have even been advocating for people to use it now. A free utility to convert from JSON is even being provided.
The main advantage of the format is that file sizes are way smaller (see screenshot below):
They still tag the optimized JSON as 'recommended' since dotlottie player libraries are still in beta for iOS. However, libraries for the web and android are now stable.
(Source)
It would be great if your Astro integration could also support the format.
The format is still not stable, lots of missing feature and many stuff yet pending. On top, there's no documentation on how the format works really, as only a small brief is mentioned in the docs.
Unless, there's a strong demand for this, better wait til more settles. I'm leaving this open, to track interest.
And there's always a workaround, you can take and use the normal json file, from the Lottie file.
@giuseppelt I would love for you to look into this again!
It's been more than a year since this opened and thus the dotlottie file format. Though I doubt documentation around the format even exists. Nonetheless, would love to save a few more KB!