remove mov from list of playable files
This commit is contained in:
parent
29e45d6e2d
commit
f6ad6e7ba7
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ lbry.getMediaType = function(contentType, fileName) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var ext = fileName.substr(dotIndex + 1);
|
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";
|
return "video";
|
||||||
} else if (/^mp3|m4a|aac|wav|flac|ogg|opus$/i.test(ext)) {
|
} else if (/^mp3|m4a|aac|wav|flac|ogg|opus$/i.test(ext)) {
|
||||||
return "audio";
|
return "audio";
|
||||||
|
|
Loading…
Add table
Reference in a new issue