From c8fe0fcdff0ba0c84183da2b07a5e02b1af0cc69 Mon Sep 17 00:00:00 2001 From: Shyam Sunder Date: Wed, 12 Sep 2018 15:57:22 -0400 Subject: [PATCH] client: Stop showing mp4 files as undefined --- client/html/post_merge_side.tpl | 1 + client/html/post_readonly_sidebar.tpl | 1 + 2 files changed, 2 insertions(+) diff --git a/client/html/post_merge_side.tpl b/client/html/post_merge_side.tpl index cebc3bba..b2c1fc6b 100644 --- a/client/html/post_merge_side.tpl +++ b/client/html/post_merge_side.tpl @@ -36,6 +36,7 @@ 'image/jpeg': 'JPEG', 'image/png': 'PNG', 'video/webm': 'WEBM', + 'video/mp4': 'MPEG-4', 'application/x-shockwave-flash': 'SWF', }[ctx.post.mimeType] + ' (' + diff --git a/client/html/post_readonly_sidebar.tpl b/client/html/post_readonly_sidebar.tpl index 1209cf16..54208ef0 100644 --- a/client/html/post_readonly_sidebar.tpl +++ b/client/html/post_readonly_sidebar.tpl @@ -9,6 +9,7 @@ 'image/jpeg': 'JPEG', 'image/png': 'PNG', 'video/webm': 'WEBM', + 'video/mp4': 'MPEG-4', 'application/x-shockwave-flash': 'SWF', }[ctx.post.mimeType] %>