making INPUT take any file of that particular field/type

 we use "/*" 

Accept any file of this type (regardless of subtype)

"video/*" means:

→ Accept any video file type — such as:

  • .mp4

  • .mov

  • .webm

  • .ogg

  • .avi, etc.

Same goes for "image/*" — it accepts:

  • .jpg, .jpeg, .png, .webp, .gif, etc.

Comments