mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Merge branch 'MDL-74287' of https://github.com/paulholden/moodle
This commit is contained in:
commit
3b072f0b59
4 changed files with 7 additions and 7 deletions
|
@ -419,6 +419,9 @@ class media_videojs_plugin extends core_media_player_native {
|
|||
* @param moodle_page $page The page we are going to add requirements to.
|
||||
*/
|
||||
public function setup($page) {
|
||||
if (during_initial_install() || is_major_upgrade_required()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Load dynamic loader. It will scan page for videojs media and load necessary modules.
|
||||
// Loader will be loaded on absolutely every page, however the videojs will only be loaded
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue