Skip to content

Commit 3af9b69

Browse files
committed
support for audio+video filetypes
1 parent 97140fc commit 3af9b69

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/AddAttachmentButton/index.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ const ATTACHMENT_FILE_TYPES_ACCEPTED = [
2020
'.pdf',
2121
'.xlsx',
2222
'.xml',
23+
'.mp3',
24+
'.wav',
25+
'.aif',
26+
'.flac',
27+
'.ogg',
28+
'.ogv',
29+
'.pcm',
30+
'.aac',
31+
'.mp4',
32+
'.avi',
33+
'.mov',
34+
'.webm',
35+
'.mkv',
36+
'.wmv'
2337
];
2438

2539
const AddAttachmentButton = ({ className, onAddAttachments }) => {

0 commit comments

Comments
 (0)