Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

base: Play videos in new tab instead of downloading them.

Aman Agrawal9042cd989beb
diff --git a/zerver/lib/upload/base.py b/zerver/lib/upload/base.py
index eaba0bb4f3d..a9b48c2f977 100644
--- a/zerver/lib/upload/base.py
+++ b/zerver/lib/upload/base.py
@@ -29,6 +29,8 @@ INLINE_MIME_TYPES = [
"image/jpeg",
"image/png",
"image/webp",
+ "video/mp4",
+ "video/webm",
# To avoid cross-site scripting attacks, DO NOT add types such
# as application/xhtml+xml, application/x-shockwave-flash,
# image/svg+xml, text/html, or text/xml.