diff options
| author | Michael Walker <mike@barrucadu.co.uk> | 2015-09-12 21:03:54 +0100 |
|---|---|---|
| committer | Michael Walker <mike@barrucadu.co.uk> | 2015-09-12 21:03:54 +0100 |
| commit | 166ba2a0a205c88bdb8fcc6fc538a0bdc01b60d9 (patch) | |
| tree | 5a7293c0d78804f72e253e385d015162e029777b /templates/post | |
| parent | 05c569e656070f086de49d24749d4b18916975da (diff) | |
| parent | 844b26216614d953ee8521838f1030ad59d735ec (diff) | |
Merge remote-tracking branch 'vichan/master'
Diffstat (limited to 'templates/post')
| -rw-r--r-- | templates/post/image.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/post/image.html b/templates/post/image.html index 818ccb57..16fe20b6 100644 --- a/templates/post/image.html +++ b/templates/post/image.html @@ -1,16 +1,16 @@ <a href=" - {% if post.file|extension == 'webm' %} + {% if post.file|extension == 'webm' or post.file|extension == 'mp4' %} {{ config.root }}player.php?v={{ config.uri_img }}{{ post.file }}&t={{ post.filename|e('url') }}&loop=1 {% else %} {{ config.uri_img }}{{ post.file }} {% endif %} " target="_blank" - {% if post.thumb == 'file' or post.modifiers['is_file'] == '1' or post.filename|extension == 'webm' %} + {% if post.thumb == 'file' or post.modifiers['is_file'] == '1' or post.filename|extension == 'webm' or post.file|extension == 'mp4' %} class="file" {% endif %} > - {% if post.thumb|extension == 'webm' %} + {% if post.thumb|extension == 'webm' or post.thumb|extension == 'mp4' %} <video autoplay class="post-image" src="{{ config.uri_thumb }}{{ post.thumb }}" poster=" {{ config.root }} |
