mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Remove ratio = 1 as default
This commit is contained in:
@@ -131,9 +131,9 @@
|
||||
{% set height = record.get_technical_infos(dataH) %}
|
||||
|
||||
{% if width and height %}
|
||||
{% set ratio = (width / height) %}
|
||||
{% set ratio = width / height %}
|
||||
{% else %}
|
||||
{% set ratio = 1 %}
|
||||
{% set ratio = '' %}
|
||||
{% endif %}
|
||||
|
||||
<video id="thumb_video" controls="" preload="auto" data-ratio="{{ ratio }}">
|
||||
|
||||
Reference in New Issue
Block a user