I’m working with various projects that allow people be able to upload to server then resize uploaded photo or convert/encode uploaded video. And popular photo extension list and video extension list are things I have to remember and re type all the time.
Below are just 2 list of photo extension and video extension be accepted to upload. It’s useful and save time for me whenever start a new project with upload photo/video function.
1. Most Popular Photo Extension
- .gif
- .jpeg
- .jpg
- .png
2. Most Popular Video Extension
- .flv
- .avi
- .asf
- .m4v
- .mov
- .mp4
- .m4a
- .3gp
- .3g2
- .mj2
- .wmv
- .mpeg
Feel free to suggest if you think any extension should be added in.