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:
- MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead.
Once one video spins the wheel the rest of the videos will do the same.
In the code above preload is set to none. It was first failing with auto and I was testing it with none. Same result.