fix exposure theme

This commit is contained in:
Adrien Beudin 2016-05-13 11:24:32 +02:00
parent 67065362b2
commit 124429e95c
2 changed files with 2 additions and 2 deletions

View File

@ -261,5 +261,5 @@ nav ul li > a.item-menu::before {
} }
.gallery-cover img.fillWidth { .gallery-cover img.fillWidth {
width: 100%; height: 100%;
} }

View File

@ -32,10 +32,10 @@
{% endif %} {% endif %}
{% if video %} {% if video %}
<div class="gallery-cover"> <div class="gallery-cover">
<img class="fillWidth" alt="" src="{{ video.generate_thumbnail("900") }}">
<video autoplay loop muted class="fillWidth"> <video autoplay loop muted class="fillWidth">
<source src="{{ video }}" type="video/webm" data-source="{{ video }}" data-format="vp8" data-extension="webm"> <source src="{{ video }}" type="video/webm" data-source="{{ video }}" data-format="vp8" data-extension="webm">
</video> </video>
<img class="fillWidth" alt="" src="{{ video.generate_thumbnail("900") }}">
</div> </div>
{% set video = "" %} {% set video = "" %}
{% else %} {% else %}