only allow mp4 and webm video files in the frontend

This commit is contained in:
MarconLP 2023-04-12 12:55:05 +02:00
parent e87da5cc4c
commit 2c762f6d4f
No known key found for this signature in database
GPG key ID: F4CAFFDFA3451D5E

View file

@ -99,6 +99,7 @@ export default function VideoUploadModal() {
)}
</span>
<input
accept="video/mp4,video/webm"
onChange={handleFileChange}
type="file"
name="file_upload"