[AudioEncoder] Introduce basic audio plugin to provide an attachment template and duration metadata for audio mimetype
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<div>
|
||||
<figure>
|
||||
<audio class="u-audio" src="{{ attachment.getUrl() }}" controls>
|
||||
</audio>
|
||||
<figcaption><a
|
||||
href="{{ path('attachment_show', {'id': attachment.getId()}) }}">{{ attachment.getBestTitle(note) }}</a>
|
||||
</figcaption>
|
||||
</figure>
|
||||
</div>
|
Reference in New Issue
Block a user