]> git.parisson.com Git - teleforma.git/commitdiff
regr
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 26 Dec 2013 18:06:03 +0000 (19:06 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 26 Dec 2013 18:06:03 +0000 (19:06 +0100)
teleforma/templates/teleforma/seminar_media_video.html

index 09f766710bd5b8e66130a897b74bec87bd6df399..9e47379b243bbec08a28b1f30f7783b42a1d776e 100644 (file)
@@ -97,13 +97,12 @@ $(window).ready(function(){
 
 <div class="video">
 <video id="my_video_1" class="video-js vjs-default-skin" width="640" height="360" controls preload="auto" {% if media.item.related.all %}{% for related in media.item.related.all %}{% if related.title == "preview" %}poster="{{ MEDIA_URL }}{{ related.file }}"{% endif %}{% endfor %}{% endif %} data-setup='{}'>
+    <source src="{{ MEDIA_URL }}{{ media.item.file }}#t=0" type="{{ media.mime_type }}" />
   {% for transcoded in media.item.transcoded.all %}
    {% if "video" in transcoded.mime_type %}
     <source src="{{ MEDIA_URL }}{{ transcoded.file }}#t=0" type="{{ transcoded.mime_type }}" />
    {% endif %}
   {% endfor %}
-    <source src="{{ MEDIA_URL }}{{ media.item.file }}#t=0" type="{{ media.mime_type }}" />
-
 </video>
 </div>