diff --git a/prosopopee/themes/light/templates/sections/bordered-picture.html b/prosopopee/themes/light/templates/sections/bordered-picture.html index 3d23ffa..53474ed 100644 --- a/prosopopee/themes/light/templates/sections/bordered-picture.html +++ b/prosopopee/themes/light/templates/sections/bordered-picture.html @@ -5,16 +5,17 @@ {% endif %} {% if section.image.type == "video" %} {% set video = Video(section.image) %} +{% set format = settings.ffmpeg.extension %} {{ video.copy() }} {% else %} {% set image = Image(section.image) %} -{% set caption = section.text %} {{ image.copy() }} {% endif %} +{% set caption = section.text %} {% if video %}
-
{% else %} diff --git a/prosopopee/themes/light/templates/sections/full-picture.html b/prosopopee/themes/light/templates/sections/full-picture.html index 309e067..c709961 100644 --- a/prosopopee/themes/light/templates/sections/full-picture.html +++ b/prosopopee/themes/light/templates/sections/full-picture.html @@ -5,6 +5,7 @@ {% endif %} {% if section.image.type == "video" %} {% set video = Video(section.image) %} +{% set format = settings.ffmpeg.extension %} {{ video.copy() }} {% else %} {% set image = Image(section.image) %} @@ -13,8 +14,8 @@
{% if video %} -