From 7235c09e66031cb0e60452eace6bd51718e3b858 Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Sat, 30 Apr 2016 11:57:52 +0200 Subject: [PATCH] fix fullscreen --- prosopopee/themes/exposure/templates/gallery-index.html | 2 +- .../themes/exposure/templates/sections/bordered-picture.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/prosopopee/themes/exposure/templates/gallery-index.html b/prosopopee/themes/exposure/templates/gallery-index.html index 2f0ea0d..6a51f48 100644 --- a/prosopopee/themes/exposure/templates/gallery-index.html +++ b/prosopopee/themes/exposure/templates/gallery-index.html @@ -47,7 +47,7 @@ $(function() { }); }); -var video = $("#video"); +var video = $("video.lazy"); video.on('click', function(e){ var vid = video[0]; vid.play(); diff --git a/prosopopee/themes/exposure/templates/sections/bordered-picture.html b/prosopopee/themes/exposure/templates/sections/bordered-picture.html index 7763842..cd93471 100644 --- a/prosopopee/themes/exposure/templates/sections/bordered-picture.html +++ b/prosopopee/themes/exposure/templates/sections/bordered-picture.html @@ -8,13 +8,14 @@ {% if section.background %}
{% endif %} -
{% if video %} +
{% else %} +