From 975750afe9c62dbf4e09faa75929c3dd06f53d0f Mon Sep 17 00:00:00 2001 From: Naz Date: Wed, 10 Nov 2021 10:46:12 +0400 Subject: [PATCH] Added ".ogg" audio support to Media API refs https://github.com/TryGhost/Toolbox/issues/95 refs https://github.com/TryGhost/Ghost/commit/9edd299905cb73d4aa900ff39734f3e9e4641e60 - A follow up to the original audio support. ".ogg" format is widely supported by the most popular browsers (ref. https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers), so makes sense to support it out of the box too --- core/shared/config/overrides.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/shared/config/overrides.json b/core/shared/config/overrides.json index 23707449cd..734fdb77e6 100644 --- a/core/shared/config/overrides.json +++ b/core/shared/config/overrides.json @@ -31,8 +31,8 @@ "contentTypes": ["image/jpeg", "image/png", "image/gif", "image/svg+xml", "image/x-icon", "image/vnd.microsoft.icon", "image/webp"] }, "media": { - "extensions": [".mp4",".webm", ".ogv", ".mp3", ".wav"], - "contentTypes": ["video/mp4", "video/webm", "video/ogg", "audio/mpeg", "audio/vnd.wav"] + "extensions": [".mp4",".webm", ".ogv", ".mp3", ".wav", ".ogg"], + "contentTypes": ["video/mp4", "video/webm", "video/ogg", "audio/mpeg", "audio/vnd.wav", "audio/ogg"] }, "thumbnails": { "extensions": [".jpg", ".jpeg", ".gif", ".png", ".svg", ".svgz", ".ico", ".webp"],