Daniel Siepmann
746aaf3285
Allow to render videos with native HTML5 support in browser. A first example video is also added to fileadmin.
16 lines
616 B
HTML
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>
|