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

Apply the webm duration fix only to specific MimeTypes #1210

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

ottsimon
Copy link
Contributor

This PR should fix #1192
fixWebmDuration is only applied if the MimeType is "video/webm" or "video/x-matroska".
Other formats can easily be added.

Tested with Chrome and Firefox on Windows and with Chrome, Firefox and Safari on MacOS.

@ottsimon
Copy link
Contributor Author

May also fix #1202, as Safari creates mp4 files by default.

Copy link
Member

@LukasKalbertodt LukasKalbertodt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, change looks good!

@LukasKalbertodt LukasKalbertodt merged commit 9579fa0 into elan-ev:master Jan 14, 2025
2 checks passed
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.

WebM duration fix is applied to other formats
2 participants