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

Prefer audio/x-wav for .wav files #45

Merged
merged 1 commit into from
May 17, 2021
Merged

Prefer audio/x-wav for .wav files #45

merged 1 commit into from
May 17, 2021

Conversation

gmcgibbon
Copy link
Member

@gmcgibbon gmcgibbon commented May 11, 2021

rails/rails#41880

Closes #41

Previous to 1.0, marcel identified wav audio as audio/x-wav. With the new mime source, it identifies wav files as audio/vnd.wav which causes downstream issues with playing audio files in browsers via file uploads with Active Storage. This restores the previous behaviour by override similar to 27fac74.

@gmcgibbon gmcgibbon mentioned this pull request May 11, 2021
@pixeltrix
Copy link
Contributor

@gmcgibbon thanks for all the PRs! Can you rebase this one, please. 🙏🏻

@gmcgibbon
Copy link
Member Author

Rebased. Thanks for reviewing/merging! ❤️

@pixeltrix pixeltrix merged commit a2ca764 into rails:main May 17, 2021
@gmcgibbon gmcgibbon deleted the wav branch May 17, 2021 16:07
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.

Unable to Preview audio/vnd.wave in Chrome
2 participants