Merge pull request #322 from saimn/galleria-video

Workaround for galleria and videos
This commit is contained in:
Simon Conseil
2018-04-04 23:41:50 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 B

View File

@@ -152,7 +152,8 @@
image: "{{ media.filename }}"
{% endif %}
{% if media.type == "video" %}
video: "{{ media.filename }}"
image: "{{ theme.url }}/img/empty.png",
layer: "<video controls><source src='{{ media.filename }}' type='{{ media.mime }}' /></video>"
{% endif %}
},
{% endfor %}