ds-site/Resources/Private/Templates/Backend/ContentElements/Video.html

23 lines
771 B
HTML
Raw Normal View History

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
data-namespace-typo3-fluid="true">
<a href="{be:uri.editRecord(
uid: uid,
table: 'tt_content'
)}">
<f:for each="{videos}" as="video">
<figure>
<video controls preload="metadata">
<source src="/{video.publicUrl}" type="video/mp4">
</video>
<figcaption>
<p>
Video v{video.originalFile.uid}: {video.title}<br>
{video.description -> f:format.nl2br()}
</p>
</figcaption>
</figure>
</f:for>
</a>
</html>