{% with type=current_object.get_object_name file_type=current_object.file_type %}
{% if file_type == 'mp3' or file_type == 'ogg' %}
{% elif file_type == 'ogv' or file_type == 'flv' or file_type == 'mp4' or file_type == 'webm' %}
{% else %}
{% trans "This format: (." %}{{ file_type }}{% trans ") is unsupported. Use the link to download." %}
{% endif %}
{% endwith %}