Mercurial > sat_legacy_website
diff templates/sat_website/gallery.html @ 84:d59bc45f83ca
there's a problem with replace_language_tag filter, don't use it for now, link directly to French video + use webm instead of ogv
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 15 Jun 2015 16:54:06 +0200 |
parents | 3d04a955bec4 |
children | 45770a652636 |
line wrap: on
line diff
--- a/templates/sat_website/gallery.html Mon Jun 15 13:52:10 2015 +0200 +++ b/templates/sat_website/gallery.html Mon Jun 15 16:54:06 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="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path|replace_language_tag }}" 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="{{ screenshot.poster }}" controls="controls" src="{{ screenshot.path|replace_language_tag }}" 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 %}