gnu-social/plugins/VideoEncoder/templates/videoEncoder/videoEncoderView.html.twig

9 lines
388 B
Twig
Raw Normal View History

<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.getFilename() }}</a>
</figcaption>
</figure>
</div>