Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.9.18
-
2
-
Team Hedgehog Sprint 1.1, Team Hedgehog Sprint 1.2
Description
Since a recent update, when playing videos embedded in a course via a label / filter - the controls (play/pause, volume, etc) are not shown. This seems to be a bug in the latest video-js update, since in the console there is an error:
Uncaught TypeError: this.buildCSSClass is not a function |
This is likely a regression of https://tracker.moodle.org/browse/MDL-75278 - reverting the commit fixes the issue.
Reproduce
- Create a course
- Create a label
- Insert any youtube link
- Save and display
- Play video
- Video plays without control bar.
This has been directly observed in 3.9 - 3.11 is not affected as it likely already have a higher version of video-js installed.