Mercurial > sat_legacy_website
diff templates/sat_website/gallery.html @ 58:746e53efc188
allow large media files (screencasts) to be stored on an external server
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 14 May 2015 23:37:56 +0200 |
parents | d54f2f09a73a |
children | 3d04a955bec4 |
line wrap: on
line diff
--- a/templates/sat_website/gallery.html Thu May 14 22:46:57 2015 +0200 +++ b/templates/sat_website/gallery.html Thu May 14 23:37:56 2015 +0200 @@ -36,7 +36,7 @@ {% for screenshot in row %} <div class="col-md-4"> {% if screenshot.poster %} - <video index="{{ forloop.counter0 }}" class="thumbnail img-responsive" width="640" height="400" poster="{% static screenshot.poster %}" controls="controls" src="{% static screenshot.path %}" preload="none"> + <video index="{{ forloop.counter0 }}" class="thumbnail img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path }}" preload="none"> {% blocktrans with firefox="<a href=\"http://www.mozilla.org/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}{% endblocktrans %} </video> {% else %} @@ -78,7 +78,7 @@ {% for screenshot in screenshots %} <div class="item{% if not forloop.counter0 %} active{% endif %}"> {% if screenshot.poster %} - <video class="img-responsive" width="640" height="400" poster="{% static screenshot.poster %}" controls="controls" src="{% static screenshot.path %}" preload="none"> + <video class="img-responsive" width="640" height="400" poster="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path }}" preload="none"> {% blocktrans with firefox="<a href=\"http://www.mozilla.org/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}{% endblocktrans %} </video> {% else %}