1 This files describes API changes in core libraries and APIs,
2 information provided here is intended especially for developers.
5 * Added new methods to api: get_original_content_from_pluginfile_url and can_edit_content.
6 * Added edit.php and editcontent_form class, for modifying H5P content given an H5P identifier (from the h5p table).
7 * Added a new parameter to the player::display method, to define whether the edit button should be displayed below the
8 H5P content or not. Default value for this parameter is false.
11 * Added $skipcapcheck parameter to H5P constructor, api::create_content_from_pluginfile_url() and
12 api::get_content_from_pluginfile_url() to let skip capabilities check to get the pluginfile URL.
13 * Added new field "enabled" to h5p_libraries to let define if a content type is enabled (1) or not (0).
14 For now, only runnable content-types can be disabled/enabled. When a content-type is disabled, their
15 contents are not displayed and no new contents using it can be created/uploaded.
16 Some extra methods have been added to the api too in order to support this field:
20 * The third-party library h5p/h5plib/v124/core has been updated to version 1.24.2.
23 * Added a new cache for h5p_library_files (MDL-69207)
26 * A new plugintype has been created, h5plib, for having installed more
27 than one H5P library version.
28 * H5P third-party libraries have been moved from /lib/h5p to h5p/h5plib/v124,
29 as an h5plib plugintype.
30 * H5P Editor PHP library added to h5plib v124 plugin.