gnu-social/plugins/VideoEncoder/templates/videoEncoder/videoEncoderView.html.twig
2021-09-22 15:13:46 +01:00

10 lines
347 B
Twig

<div>
<figure>
<video class="u-video" src="{{ attachment.getUrl() }}" controls poster="{{ attachment.getThumbnailUrl('medium')}}">
</video>
<figcaption><a
href="{{ path('attachment_show', {'id': attachment.getId()}) }}">{{ attachment.getBestTitle(note) }}</a>
</figcaption>
</figure>
</div>