diff --git a/server/szurubooru/func/mime.py b/server/szurubooru/func/mime.py index 8f069a12..871a0a46 100644 --- a/server/szurubooru/func/mime.py +++ b/server/szurubooru/func/mime.py @@ -24,7 +24,7 @@ def get_mime_type(content: bytes) -> str: if content[0:4] == b'\x1A\x45\xDF\xA3': return 'video/webm' - if content[4:12] in (b'ftypisom', b'ftypmp42'): + if content[4:12] in (b'ftypisom', b'ftypiso5', b'ftypmp42'): return 'video/mp4' return 'application/octet-stream'