Allow custom URL for libraries
parent
b4fd0e098c
commit
1bf393a9af
|
@ -1482,7 +1482,7 @@ H5P.libraryFromString = function (library) {
|
|||
* The full path to the library.
|
||||
*/
|
||||
H5P.getLibraryPath = function (library) {
|
||||
return H5PIntegration.url + '/libraries/' + library;
|
||||
return (H5PIntegration.libraryUrl !== undefined ? H5PIntegration.libraryUrl + '/' : H5PIntegration.url + '/libraries/') + library;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue