Merge branch 'MDL-68917-master' of git://github.com/sarjona/moodle
[moodle.git] / 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;