MDL-66609 core_h5p: Upgrade H5P library to 1.24
[moodle.git] / lib / h5p / readme_moodle.txt
CommitLineData
45899564
AA
1H5P PHP library
2---------------
3
4Downloaded last release from: https://github.com/h5p/h5p-php-library/releases
5
6Import procedure:
7
8- Copy all the files from the folder repository in this directory.
9
10Removed:
11 * composer.json
12 * .gitignore
13
14Added:
15 * readme_moodle.txt
16
17Downloaded version: 1.23.1 release
6faafc0c
AN
18
19=== 3.8 ===
20* In order to allow the dependency path to be overridden by child H5PCore classes, a couple of minor changes have been added to the
21h5p.classes.php file:
22 - Into the getDependenciesFiles method, the line 2435:
23 $dependency['path'] = 'libraries/' . H5PCore::libraryToString($dependency, TRUE);
24
25 has been changed to:
26 $dependency['path'] = $this->getDependencyPath($dependency);
27
28 - The method getDependencyPath has been added (line 2455). It might be rewritten by child classes.
29A PR has been sent to the H5P library with these changes:
30https://github.com/h5p/h5p-php-library/compare/master...andrewnicols:libraryPathSubclass
31Hopefully, when upgrading, these patch won't be needed because it will be included in the H5P library by default.