When including the provided TypoScript setup/constants, I get some JavaScript issues in my console:
[ERROR] Uncaught ReferenceError: videojs is not defined
at videos-mit-untertitel.html:3023:22
and
[WARNING] VIDEOJS: WARN: videojs.plugin() is deprecated; use videojs.registerPlugin() instead
The rendered HTML looks smth like this:
<video width="1180" controls oncontextmenu="return false;" class="video-js vjs-big-play-centered vjs-16-9" id="video2505" data-setup="{}"><source src="/fileadmin/user_upload/movie.mp4" type="video/mp4"><track label="Deutsch" kind="subtitles" srclang="de" src="/fileadmin/user_upload/track.vtt"></video>
<script>
var player2505 = videojs('video2505');
player2505.markers();
player2505.markersUi();
</script>
The first JavaScript error occurs, because the JavaScript was moved to the footer, due to config.moveJsFromHeaderToFooter = 1.
I assume that the second JavaScript warning is because of an old VideoJS version.
When including the provided TypoScript setup/constants, I get some JavaScript issues in my console:
and
The rendered HTML looks smth like this:
The first JavaScript error occurs, because the JavaScript was moved to the footer, due to
config.moveJsFromHeaderToFooter = 1.I assume that the second JavaScript warning is because of an old VideoJS version.