pdnew/themes/default/templates/renderable/audio.html

14 lines
378 B
HTML

{% extends 'default/templates/renderable/upload.html' %}
{% block fileview %}
<audio
controls
{% if content.description %}
title="{{ content.description }}"
{% endif %}
>
<source src={{ content.url('raw') }} type="{{ content.media_type }}" />
Audio playback not supported by your browser.
</audio>
{% endblock %}