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

Registering a MIME type for Lottie #114

Open
kudanai opened this issue Dec 16, 2024 · 11 comments
Open

Registering a MIME type for Lottie #114

kudanai opened this issue Dec 16, 2024 · 11 comments

Comments

@kudanai
Copy link
Contributor

kudanai commented Dec 16, 2024

Context: Since we have the animation spec out, it's about time we go about the process of officially requesting for a MIME type for the format.

Relevant info

@kudanai
Copy link
Contributor Author

kudanai commented Dec 16, 2024

Some proposed options:

  • video/lottie+json
  • text/lottie+json

These options are up for debate

@mbasaglia
Copy link
Member

Lottie fits the definition of video: https://www.rfc-editor.org/rfc/rfc2046.html#section-4.4

@mbasaglia
Copy link
Member

Here's the JSON media type info, we need to reference some of this in the form: https://www.rfc-editor.org/rfc/rfc4627#section-6

@mbasaglia
Copy link
Member

For security considerations, we might need to mention expressions, they are not in the specs but they are present in some lottie animations.

@mbasaglia
Copy link
Member

We might also want to come up with a recommended file extension, since .json is too generic, We can't use .lottie because of dotLottie

@b-wils
Copy link
Contributor

b-wils commented Dec 17, 2024

image/lottie+json could be another possibility

@fmalita
Copy link
Member

fmalita commented Dec 17, 2024

I was going to suggest .lot, but it looks like it's been used for some LaTeX resources. Seems pretty niche, not sure if it's a blocker.

@kudanai
Copy link
Contributor Author

kudanai commented Dec 17, 2024

General consensus on LAC working group leans towards video/lottie+json as per 17th Dec, 2024

Screenshot 2024-12-17 at 20 50 19

@kudanai
Copy link
Contributor Author

kudanai commented Dec 17, 2024

for considerations to file under .lot and .lj

@kudanai
Copy link
Contributor Author

kudanai commented Dec 17, 2024

Screenshot 2024-12-17 at 21 01 44

@kudanai
Copy link
Contributor Author

kudanai commented Jan 15, 2025

documenting the update: We have submitted the request to IANA through LottieFiles provisionally with the following parameters:

  • video/lottie+json
  • extension .lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants