From: Guillaume Pellerin Date: Tue, 26 Jan 2021 21:20:31 +0000 (+0100) Subject: add mp4 to media list X-Git-Tag: 2.8.1-ae~91 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6e0cfad7db9f959e95ca10bfad2f7c8e176c852c;p=teleforma.git add mp4 to media list --- diff --git a/teleforma/templates/teleforma/inc/media_list.html b/teleforma/templates/teleforma/inc/media_list.html index 76c2de5f..e3db47c6 100644 --- a/teleforma/templates/teleforma/inc/media_list.html +++ b/teleforma/templates/teleforma/inc/media_list.html @@ -11,7 +11,7 @@ {% for media in course.media.all|from_course_type:type|from_period:period %} {% if media.is_published or user.is_staff and not list_view %} - {% if media.type == 'webm' %} + {% if media.type == 'webm' or if media.type == 'mp4' %}