mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-28 21:50:58 +00:00
feat: add support for additional audio file types to document requirements drawer
This commit is contained in:
@@ -60,6 +60,13 @@ const MIME_OPTIONS = [
|
||||
{ value: 'video/quicktime', label: 'Video (.mov, iPhone)' },
|
||||
{ value: 'video/webm', label: 'Video (.webm)' },
|
||||
{ value: 'video/x-msvideo', label: 'Video (.avi)' },
|
||||
{ value: 'audio/mpeg', label: 'Audio (.mp3)' },
|
||||
{ value: 'audio/wav', label: 'Audio (.wav)' },
|
||||
// Both, because the same .m4a is reported as audio/mp4 by Chrome and
|
||||
// audio/x-m4a by Safari; picking one would reject half the recordings.
|
||||
{ value: 'audio/mp4', label: 'Audio (.m4a)' },
|
||||
{ value: 'audio/x-m4a', label: 'Audio (.m4a, Safari)' },
|
||||
{ value: 'audio/ogg', label: 'Audio (.ogg)' },
|
||||
];
|
||||
|
||||
/** What a new slot accepts until someone widens it. */
|
||||
|
||||
Reference in New Issue
Block a user