mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 23:37:43 +03:00
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:
parent
ea525e20a5
commit
975750afe9
@ -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"],
|
||||
|
Loading…
Reference in New Issue
Block a user