only except image as file type input form html code example Example: input type file select only video accept="video/mp4,video/x-m4v,video/*"