remove mov from list of playable files

This commit is contained in:
Jeremy Kauffman 2017-06-30 16:33:49 -04:00 committed by GitHub
parent 29e45d6e2d
commit f6ad6e7ba7

View file

@ -321,7 +321,7 @@ lbry.getMediaType = function(contentType, fileName) {
}
var ext = fileName.substr(dotIndex + 1);
if (/^mp4|m4v|mov|webm|flv|f4v|ogv$/i.test(ext)) {
if (/^mp4|m4v|webm|flv|f4v|ogv$/i.test(ext)) {
return "video";
} else if (/^mp3|m4a|aac|wav|flac|ogg|opus$/i.test(ext)) {
return "audio";