mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
position technical data to positive negative value
This commit is contained in:
@@ -435,6 +435,12 @@
|
||||
{
|
||||
id: {{ record.get_record_id }},
|
||||
type: "{{ record.get_type() }}",
|
||||
{% set position = record.getPositionFromTechnicalInfos %}
|
||||
technicalInfo: {
|
||||
isCoordComplete: {{ position.isCoordComplete }},
|
||||
latitude: {{ position.latitude }},
|
||||
longitude: {{ position.longitude }}
|
||||
},
|
||||
{% if record.get_type() == 'video' %}
|
||||
{% set outputFormats = record.getSubdfefByDeviceAndMime(null, ['image/jpeg', 'image/png']) %}
|
||||
{% set previewHtml5 = record.getSubdfefByDeviceAndMime(constant('\\databox_subdef::DEVICE_SCREEN'), ['video/ogg', 'video/mp4', 'video/webm']) %}
|
||||
|
Reference in New Issue
Block a user