Diogo Peralta Cordeiro
41dcef3c7b
Ensure the intended filetypes and mimetypes during Vips conversions (part 2) Sanitize Attachments instead of Validate (part 2) Various bug fixes
9 lines
369 B
Twig
9 lines
369 B
Twig
<div>
|
|
<figure>
|
|
<video src="{{ path('attachment_view', {'id': attachment.getId()}) }}" controls poster="{{ path('attachment_thumbnail', thumbnail_parameters) }}">
|
|
</video>
|
|
<figcaption><a
|
|
href="{{ path('attachment_show', {'id': attachment.getId()}) }}">{{ attachment.getTitle() }}</a>
|
|
</figcaption>
|
|
</figure>
|
|
</div> |