Improve info below videos

This commit is contained in:
Daniel Siepmann 2020-09-25 14:06:05 +02:00
parent abd08429f5
commit 1b8925afef

View file

@ -9,10 +9,14 @@
</p>
</video>
<figcaption>
<p>Video v{video.originalFile.uid}: {video.title}</p>
<p>
Video v{video.originalFile.uid}: {video.title}<br>
Size: {video.size -> f:format.bytes(decimals: 2)}
<f:if condition="{video.properties.youtube}">
<p>The Video is available on YouTube: <f:link.typolink parameter="https://www.youtube.com/watch?v={video.properties.youtube}" target="_blank">https://www.youtube.com/watch?v={video.properties.youtube}</f:link.typolink>.</p>
<br>
YouTube: <f:link.typolink parameter="https://www.youtube.com/watch?v={video.properties.youtube}" target="_blank">{video.properties.youtube}</f:link.typolink>
</f:if>
</p>
<p>{video.description -> f:format.nl2br()}</p>
</figcaption>
</figure>