Merge branch 'MDL-68917-master' of git://github.com/sarjona/moodle
authorJake Dallimore <jake@moodle.com>
Mon, 8 Jun 2020 01:41:27 +0000 (09:41 +0800)
committerJake Dallimore <jake@moodle.com>
Mon, 8 Jun 2020 01:41:27 +0000 (09:41 +0800)
h5p/classes/helper.php

index 721187e..2cf6598 100644 (file)
@@ -359,7 +359,7 @@ class helper {
             'crossorigin' => null,
             'libraryConfig' => $core->h5pF->getLibraryConfig(),
             'pluginCacheBuster' => self::get_cache_buster(),
-            'libraryUrl' => autoloader::get_h5p_core_library_url('core/js')
+            'libraryUrl' => autoloader::get_h5p_core_library_url('js')->out(),
         );
 
         return $settings;