diff --git a/CREDITS.md b/CREDITS.md
index 527e0a9..7b2d5ec 100644
--- a/CREDITS.md
+++ b/CREDITS.md
@@ -37,6 +37,7 @@ hatsch
[Matthias Bilger](https://codeberg.org/m42e)
[Meljoann](https://www.meljoann.com/)
[Michael Fritzsch](https://codeberg.org/michael-fritzsch)
+[namatoj](https://autonomous.zone/@namatoj)
[Robert Pfotenhauer](https://pftnhr.xyz)
[Sam](https://ethicalrevolution.co.uk/)
[Sam Muirhead](https://www.animate-activate.studio/)
diff --git a/core/src/video_file.rs b/core/src/video_file.rs
index 456a9d4..6a3f0b4 100644
--- a/core/src/video_file.rs
+++ b/core/src/video_file.rs
@@ -72,7 +72,7 @@ impl VideoFile {
// This mapping must be kept up-to-date with
// [SUPPORTED_EXTENSIONS], otherwise it's a full on-crash somewhere
// (but at least something that is quickly and easily discovered).
- match extension {
+ match extension.to_ascii_lowercase().as_str() {
"m4v" |
"mp4" => "video/mp4",
"mkv" => "video/x-matroska",