2020-08-19 23:01:35 +02:00
< html xmlns:f = "http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
< figure >
2020-08-21 12:43:33 +02:00
< video controls { f:if ( condition: video . properties . poster . publicUrl , then: ' poster = "{video.properties.poster.publicUrl}" ' ) } >
< source src = "https://daniel-siepmann.de/fileadmin/Videos/PHPUnit/UnitTesting-Introduction.mp4" type = "video/mp4" >
2020-08-19 23:01:35 +02:00
< p >
Sorry, your browser doesn't support embedded videos.< br >
2020-08-21 12:43:33 +02:00
You can find the raw video file here: < a href = "{video.publicUrl}" > {video.publicUrl}< / a > .
2020-08-19 23:01:35 +02:00
< / p >
< / video >
< figcaption >
< p > Video v{video.originalFile.uid}: {video.title}< / p >
2020-08-21 12:43:33 +02:00
< f:if condition = "{video.properties.youtube}" >
< p > The Video is available on YouTube: < f:link.typolink parameter = "https://www.youtube.com/watch?v=EZkwnqb-4vk" target = "_blank" > https://www.youtube.com/watch?v={video.properties.youtube}< / f:link.typolink > .< / p >
< / f:if >
2020-08-19 23:01:35 +02:00
< p > {video.description -> f:format.nl2br()}< / p >
< / figcaption >
< / figure >
< / html >