This commit is contained in:
simon 2020-02-15 09:30:14 -05:00
parent c02b940945
commit e1aaaee617
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -76,7 +76,7 @@ function shouldPlayVideo(hit) {
}
function shouldDisplayRawImage(hit) {
return hit["_source"]["videoc"] !== "tiff";
return hit["_source"]["mime"] && hit["_source"]["mime"].startsWith("image/") && hit["_source"]["videoc"] !== "tiff";
}
function makePlaceholder(w, h, small) {