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

Added 'vtt' file extension to WebVTT mime type (text/vtt). #46

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

jox
Copy link
Contributor

@jox jox commented Sep 1, 2021

I stumbled upon MIME::Types.type_for(...) (using ruby-mime-types) not giving any results for .vtt files (WebVTT, mime type 'text/vtt', https://www.w3.org/TR/webvtt1/).

Further observation showed that the mime type text/vtt was actually added in Update 3.2020.0425 (8ee4e6b), but it did not reference any file extensions.


This change is Reviewable

@halostatue
Copy link
Member

This looks fine; can you modify this so that you’re only modifying the .yaml files? The other files are generated and won’t be updated until we do a release.

@jox
Copy link
Contributor Author

jox commented Sep 1, 2021

Cool, thanks for considering. I fixed it.

@jox
Copy link
Contributor Author

jox commented Sep 1, 2021

(Another force-push as I was confusing the commit messages.)

@halostatue halostatue merged commit 33a9033 into mime-types:master Sep 2, 2021
@halostatue
Copy link
Member

Thanks for the contribution!

halostatue added a commit that referenced this pull request Sep 2, 2021
- Updated the Apache and IANA media registry entries as of release date.

- Added file extension for WebVTT text format. [#46].
@halostatue
Copy link
Member

I’ve released a new version with this in it.

@jox
Copy link
Contributor Author

jox commented Sep 2, 2021

Thanks for the quick action!

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

Successfully merging this pull request may close these issues.

2 participants