From bd4087a2602df2e5dd44491501dc46fedd0822b1 Mon Sep 17 00:00:00 2001 From: Henrique Lechner Date: Sat, 23 Jan 2016 01:02:28 -0200 Subject: [PATCH] Update walker.js --- server/src/utils/walker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/utils/walker.js b/server/src/utils/walker.js index 08d9fe7..05e4e19 100644 --- a/server/src/utils/walker.js +++ b/server/src/utils/walker.js @@ -17,7 +17,7 @@ walker = function (dirHandler, fileHandler, options) { // defaults dirHandler = dirHandler || function () { }; fileHandler = fileHandler || function () { }; - options = options || { filter: new RegExp('^.+\\.(wmv|avi|mov|mp4|mkv)$', 'ig'), hidden: false }; + options = options || { filter: new RegExp('^.+\\.(wmv|avi|mov|mp4|mkv|webm|flv|ogv|mpeg|3gp|divx)$', 'ig'), hidden: false }; var self = { // synchronous directory walking