mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
Add extension mp4
This commit is contained in:
parent
7aefa96051
commit
e6c1623a42
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user