gnu-social/plugins/VideoEncoder/templates/videoEncoder/videoEncoderView.html.twig
2021-09-14 13:13:26 +01:00

9 lines
393 B
Twig

<div>
<figure>
<video class="u-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.getBestTitle(note) }}</a>
</figcaption>
</figure>
</div>