]> git.parisson.com Git - teleforma.git/commitdiff
no preload on video
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 2 Mar 2015 14:46:47 +0000 (15:46 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 2 Mar 2015 14:46:47 +0000 (15:46 +0100)
teleforma/templates/teleforma/seminar_media_video.html

index dd4cbf10b3fa7196a6c822718a32dc3d52b92ef3..d3ab785acb4db264238af998c860e91463505ad2 100644 (file)
@@ -96,7 +96,7 @@ $(window).ready(function(){
 <div class="media">
 
 <div class="video">
-<video id="my_video_1" class="video-js vjs-default-skin" width="640" height="360" controls preload="metadata" {% 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='{}'>
+<video id="my_video_1" class="video-js vjs-default-skin" width="640" height="360" controls preload="none" {% 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 %}