We're trying to implement a VideoJS playlist in the filter_rtmp for Moodle 3.2. I have the 2 JS files for the playlist in a $PAGE->requires->js call, but they are dependent on videojs being set up first (I'm getting the Uncaught ReferenceError: videojs is not defined error).
Does anyone have advice on how to modify the code to make sure the Moodle core loader.js and video-lazy.js have already defined videojs before my external JS files are called?
Thanks in advance for any direction!