Added ".ogg" audio support to Media API

refs https://github.com/TryGhost/Toolbox/issues/95
refs 9edd299905

- 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
This commit is contained in:
Naz 2021-11-10 10:46:12 +04:00
parent ea525e20a5
commit 975750afe9

View File

@ -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"],