diff --git a/prosopopee/prosopopee.py b/prosopopee/prosopopee.py index 06b0c97..d0a72b1 100644 --- a/prosopopee/prosopopee.py +++ b/prosopopee/prosopopee.py @@ -41,7 +41,7 @@ class Video(object): def __init__(self, options): # assuming string if not isinstance(options, dict): - options = {"video": options} + options = {"name": options} # used for caching, if it's modified -> regenerate self.options = SETTINGS["ffmpeg"].copy() self.options.update(options) diff --git a/prosopopee/themes/exposure/static/css/style.css b/prosopopee/themes/exposure/static/css/style.css index d3e2a59..abead47 100644 --- a/prosopopee/themes/exposure/static/css/style.css +++ b/prosopopee/themes/exposure/static/css/style.css @@ -252,3 +252,8 @@ nav ul li > a.item-menu::before { letter-spacing: 3px; font-style: normal; } + +.gallery-cover video.fillWidth, +.gallery-cover img.fillWidth { + height: 100%; +} diff --git a/prosopopee/themes/exposure/templates/index.html b/prosopopee/themes/exposure/templates/index.html index 09adad0..128e027 100644 --- a/prosopopee/themes/exposure/templates/index.html +++ b/prosopopee/themes/exposure/templates/index.html @@ -32,11 +32,11 @@ {% endif %} {% if video %}