diff --git a/js/h5p.js b/js/h5p.js index 3b1fa97..1a82743 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -175,6 +175,16 @@ H5P.libraryFromString = function (library) { } }; +/** + * Get the path to the library + * + * @param {string} machineName The machine name of the library + * @returns {string} The full path to the library + */ +H5P.getLibraryPath = function(machineName) { + return H5PIntegration.getLibraryPath(machineName); +}; + /** * Recursivly clone the given object. *