]> git.parisson.com Git - teleforma.git/commitdiff
add mp4 to media list
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 26 Jan 2021 21:20:31 +0000 (22:20 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 26 Jan 2021 21:57:47 +0000 (22:57 +0100)
teleforma/templates/teleforma/inc/media_list.html

index 76c2de5ff709878af08c0921fbd5b7907234474f..e3db47c68ee545f0bc9883b8a8a320cd221fe575 100644 (file)
@@ -11,7 +11,7 @@
     <tbody>
         {% 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' %}
             <tr>
             <td {% if forloop.first %}class="border-top"{% endif %} width="230px" style="vertical-align:middle">
             <a href="{% url teleforma-media-detail period.id media.id %}" title="{% trans "Play" %}">