diff options
| author | czaks <marcin@6irc.net> | 2016-02-09 12:37:03 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-02-09 12:37:03 +0100 |
| commit | c53f13bf90716461780fef0a2b4b6e2b5b3cb002 (patch) | |
| tree | 5cd18f303da0b0e6fdc87f175adf5f5f86d881e2 /templates/post/image.html | |
| parent | fe66c51a19920378885fb790d341cc50c933b046 (diff) | |
| parent | 028fd3df15b2e2edc96c5b84156b0b039ea16562 (diff) | |
Merge branch 'master' of https://github.com/vichan-devel/vichan
Diffstat (limited to 'templates/post/image.html')
| -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 }} |
