Skip to content

Commit

Permalink
Merge pull request #19 from hlechner/new_formats
Browse files Browse the repository at this point in the history
Add new video formats: .webm .flv .ogv .mpg .3gp .divx
  • Loading branch information
danstocker committed Jan 23, 2016
2 parents d801420 + bd4087a commit 20c7b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/utils/walker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20c7b9c

Please sign in to comment.