Skip to content

Commit

Permalink
[TASK] Use FileReference's uid instead of ContentElement's uid
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz-ngo committed Aug 12, 2024
1 parent 9de20cd commit 9185994
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:videos="http://typo3.org/ns/WapplerSystems/Videos/ViewHelpers" data-namespace-typo3-fluid="true">

<f:media
id="video{data.uid}"
id="video{file.uid}"
class="video-js vjs-big-play-centered {file -> videos:aspectRatioClass()}"
file="{file}"
width="{dimensions.width}"
Expand All @@ -10,9 +10,9 @@
title="{file.title}"
/>
<script>
var player{data.uid} = videojs('video{data.uid}');
player{data.uid}.markers();
player{data.uid}.markersUi();
var player{file.uid} = videojs('video{file.uid}');
player{file.uid}.markers();
player{file.uid}.markersUi();
</script>

</html>

0 comments on commit 9185994

Please sign in to comment.