1 or ext in ["mp4", "mov", "webm", "ogg", "3gp"] }}"
data-scroll="0" id="file-{{ loop.index0 }}" style="width: fit-content" {{ "hidden" if not loop.first }}>
{% if ext in ["jpg", "jpeg", "png", "gif"] %}
Image not found

{% elif ext in ["mp4", "mov", "webm", "ogg", "3gp"] %}
Video not found
{% elif ext in ["swf"] %}
{% elif ext in ["txt"] %}
Thumbnail not found
{% if files_text[loop.index0] %}
{% autoescape false %}{{ files_text[loop.index0].strip() }}{% endautoescape %}
{% else %}
No text
{% endif %}
{% elif ext in ["mp3", "wav", "mid"] %}
Thumbnail not found
{% else %}
Thumbnail not found
{{ filenames[loop.index0]|title }}
{% endif %}
{% if submission.FILEEXT|length > 1 %}
{% if ext not in ["jpg", "jpeg", "png", "gif"] %}
{% endif %}
{% elif ext in ["mp4", "mov", "webm", "ogg", "3gp"] %}
{% endif %}
{% endfor %}
{% endif %}
{% endset %}
{% include "navbar.html" %}