-
Bug
-
Resolution: Fixed
-
Minor
-
3.1.4, 3.2.1
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MDL-57480-master -
Noticed this missing when I was testing MDL-57187. Basically, if you enable the media player 'videojs' and then drag and drop an mp4 into the course and select the first option (add as a label, not a file), then the file is added, but the setup code for videojs is never called so the video is rendered in the browser default player. On page refresh this is resolved, and the videojs player is used, but it's not a nice thing to see when dropping a file in this way. Audio files are also affected by this.
I think the solution is to fire the 'notifyFilterContentUpdated' event, as videojs already listens for this (see here)