only allow mp4 and webm video files in the frontend
This commit is contained in:
parent
e87da5cc4c
commit
2c762f6d4f
1 changed files with 1 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ export default function VideoUploadModal() {
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
<input
|
<input
|
||||||
|
accept="video/mp4,video/webm"
|
||||||
onChange={handleFileChange}
|
onChange={handleFileChange}
|
||||||
type="file"
|
type="file"
|
||||||
name="file_upload"
|
name="file_upload"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue