{% for layer in currentElement.properties.layers|reverse %}
{% if layer.type == 'video' %} {% endif %}
{% endfor %}