From 21bbf4bee025837c741336a17396dd1a5451128b Mon Sep 17 00:00:00 2001 From: LeaPhant Date: Thu, 14 May 2026 11:46:54 +0200 Subject: [PATCH] fix: support audio with ogg filetype (#2924) fix: ogg audio workaround --- src/app/utils/mimeTypes.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/utils/mimeTypes.ts b/src/app/utils/mimeTypes.ts index 98c5aee..e9d1e35 100644 --- a/src/app/utils/mimeTypes.ts +++ b/src/app/utils/mimeTypes.ts @@ -31,6 +31,7 @@ export const APPLICATION_MIME_TYPES = [ 'application/javascript', 'application/xhtml+xml', 'application/xml', + 'application/ogg', ]; export const TEXT_MIME_TYPE = [ @@ -115,6 +116,10 @@ export const getBlobSafeMimeType = (mimeType: string) => { if (type === 'video/quicktime') { return 'video/mp4'; } + // Fixes missing playback for Ogg audio + if (type === 'application/ogg') { + return 'audio/ogg'; + } return type; };