Better support for media files inside archives

This commit is contained in:
2020-05-24 14:10:23 -04:00
parent dd2397ef5c
commit c4fbae123e
10 changed files with 30 additions and 11 deletions

View File

@@ -77,6 +77,7 @@ function shouldPlayVideo(hit) {
return mime &&
mime.startsWith("video/") &&
!("parent" in hit["_source"]) &&
hit["_source"]["extension"] !== "mkv" &&
hit["_source"]["extension"] !== "avi" &&
videoc !== "hevc" &&