ds-site/Resources/Private/Partials/Video.html
Daniel Siepmann 746aaf3285 Add basic video content element and first video
Allow to render videos with native HTML5 support in browser.
A first example video is also added to fileadmin.
2020-08-19 23:01:35 +02:00

16 lines
616 B
HTML

<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<figure>
<video controls>
<source src="{video.publicUrl}" type="video/mp4">
<p>
Sorry, your browser doesn't support embedded videos.<br>
You can find the raw video file here: <a href="{video.publicUrl}">{video.publicUrl}</a>
</p>
</video>
<figcaption>
<p>Video v{video.originalFile.uid}: {video.title}</p>
<p>{video.description -> f:format.nl2br()}</p>
</figcaption>
</figure>
</html>