]> git.parisson.com Git - teleforma.git/commitdiff
Merge branch 'crfpa' into tc202
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 17 Sep 2013 16:38:08 +0000 (18:38 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 17 Sep 2013 16:38:08 +0000 (18:38 +0200)
Conflicts:
teleforma/templates/teleforma/course_media.html

1  2 
teleforma/models/core.py
teleforma/templates/teleforma/course_media.html
teleforma/views/core.py

Simple merge
index c817acd4a98437c143e7491bb13cdcea2a9a8fe8,102319de5832cdea7ec5b7252a573ff087dbbca7..ad61076ab5a653aeb248a2e186d2a9ba707006a9
@@@ -97,8 -97,7 +97,7 @@@ $(document).ready(function()
  {% if "video" in media.mime_type %}
  <div class="video">
  <video id="my_video_1" class="video-js vjs-default-skin" width="640" height="360" controls preload="auto" data-setup='{}' {% if media.item.related.all %}{% for related in media.item.related.all %}{% if related.title == "preview" %}{% thumbnail related.file "640" as im %}poster="{{ im.url }}"{% endthumbnail %}{% endif %}{% endfor %}{% endif %}>
- <!-- Hello Chrome and Firefox (and Opera?) -->
 -<source src="{{ MEDIA_URL }}{{ media.item.file }}" type="{{ media.mime_type }}" />
 +<source src="{{ MEDIA_URL|set_host:host }}{{ media.item.file }}" type="{{ media.mime_type }}" />
  </video>
  </div>
  
Simple merge