Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for IANA approved mime-type "video/lottie+json" and extension ".lot" #2537

Open
kudanai opened this issue Feb 19, 2025 · 1 comment

Comments

@kudanai
Copy link

kudanai commented Feb 19, 2025

As part of efforts by LAC, IANA has approved the video/lottie+json type and .lot extension for use with Lottie animations. In light of this we should consider adding the relevant recognition in the library.


Is your feature request related to a problem? Please describe.

Enhancement. lottie-android should recognize .lot and the video/lottie+json mime type on the network loader

Describe the solution you'd like

  • pick up .lot from storage, and inside .zip|.lottie files (if applicable)
  • recognize video/lottie+json in the network pipeline

In both these instances, they should be treated the same as .json would be.
for clarity, this in now way disqualifies the usage of .json to transport animations. The .lot extension is in addition to the existing mechanism

Additional context

official Assignment
standards listings
organizational listing with LAC recognized

@kudanai
Copy link
Author

kudanai commented Feb 21, 2025

minor correction, the correct type is: video/lottie+json. Edited the original post

@kudanai kudanai changed the title Add support for IANA approved mime-type "video/json+lottie" and extension ".lot" Add support for IANA approved mime-type "video/lottie+json" and extension ".lot" Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants