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> </p>
</video> </video>
<figcaption> <figcaption>
<p>Video v{video.originalFile.uid}: {video.title}</p> <p>
<f:if condition="{video.properties.youtube}"> Video v{video.originalFile.uid}: {video.title}<br>
<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> Size: {video.size -> f:format.bytes(decimals: 2)}
</f:if> <f:if condition="{video.properties.youtube}">
<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> <p>{video.description -> f:format.nl2br()}</p>
</figcaption> </figcaption>
</figure> </figure>