input tag to allow video and image files code example
Example 1: input type file select only video
accept="video/mp4,video/x-m4v,video/*"
Example 2: accept vedio pdf files upload html
<input type="file" accept=" video/*" />
accept="video/mp4,video/x-m4v,video/*"
<input type="file" accept=" video/*" />