From 5865f242194fe4f9a65aa9a314ce4f4fd40604e9 Mon Sep 17 00:00:00 2001 From: Aldrin Jenson Date: Mon, 1 Apr 2024 01:47:15 +0530 Subject: [PATCH] accept webm + m4a files as fileinput --- ui/src/components/Dropzone.jsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/src/components/Dropzone.jsx b/ui/src/components/Dropzone.jsx index 009cf21..af68ecc 100644 --- a/ui/src/components/Dropzone.jsx +++ b/ui/src/components/Dropzone.jsx @@ -10,10 +10,8 @@ export default function Dropzone({ setUploadedFile, uploadedFile }) { onDrop, accept: { // "audio/mpeg": [".mp3", ".mpeg", ".mpga"], - // "audio/mp4": [".m4a"], - // "video/mp4": [".mp4"], - // "video/webm": [".webm"], - + "audio/mp4": [".m4a"], + "video/webm": [".webm"], "audio/wav": [".wav"], "audio/mpeg": [".mp3"], "video/mp4": [".mp4"],