diff options
| author | 27chan <gameover@hotmail.com.br> | 2015-08-10 22:09:26 -0300 |
|---|---|---|
| committer | 27chan <gameover@hotmail.com.br> | 2015-08-10 22:09:26 -0300 |
| commit | e6c1623a4235f267c6e7909ad22e78863af48700 (patch) | |
| tree | 8f67950a937acc5ad5b807e73756ad5e95e2fd6a /templates | |
| parent | 7aefa960515723b85fcd880e1d3ebe478120360c (diff) | |
Add extension mp4
Diffstat (limited to 'templates')
| -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 }} |
