diff --git a/controllers/utilsController.js b/controllers/utilsController.js index 9b26289..fb3fe9a 100644 --- a/controllers/utilsController.js +++ b/controllers/utilsController.js @@ -26,8 +26,8 @@ const self = { idMaxTries: config.uploads.maxTries || 1, - imageExts: ['.webp', '.jpg', '.jpeg', '.gif', '.png', '.tiff', '.tif', '.svg'], - videoExts: ['.webm', '.mp4', '.wmv', '.avi', '.mov', '.mkv', '.m4v', '.m2ts'], + imageExts: ['.gif', '.jpeg', '.jpg', '.png', '.svg', '.tif', '.tiff', '.webp'], + videoExts: ['.3g2', '.3gp', '.asf', '.avchd', '.avi', '.divx', '.evo', '.flv', '.h264', '.h265', '.hevc', '.m2p', '.m2ts', '.m4v', '.mk3d', '.mkv', '.mov', '.mp4', '.mpeg', '.mpg', '.mxf', '.ogg', '.ogv', '.ps', '.qt', '.rmvb', '.ts', '.vob', '.webm', '.wmv'], ffprobe: promisify(ffmpeg.ffprobe),