From 13e1cfe982b49b56cd767237659845594635f7fe Mon Sep 17 00:00:00 2001 From: Anji Tong Date: Mon, 3 Aug 2020 15:41:25 -0400 Subject: [PATCH] Added more supported video formats for media (#640) * Added more accepted video formats * Allow `video/webm` uploads Co-authored-by: jnm --- onadata/settings/common.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/onadata/settings/common.py b/onadata/settings/common.py index 7e40d9a3f..1980266c7 100644 --- a/onadata/settings/common.py +++ b/onadata/settings/common.py @@ -498,6 +498,10 @@ def skip_suspicious_operations(record): 'image/svg+xml', 'audio/mpeg', 'video/3gpp', + 'video/mp4', + 'video/quicktime', + 'video/ogg', + 'video/webm', 'audio/wav', 'audio/x-m4a', 'audio/mp3',