I wrote a custom plugin for our company, to display videos in a gallery.
We want to use videojs as the player, since that's installed as default in Moodle.
We launch a modal which is populated with the template below for each video.
The video source is rendered correctly.
My implementation is as follows in a mustache template:
Everything works great with the Chrome browser but testing in Firefox, some but not all of the videos will forever spin the wheel.
No console errors except for two warnings: