Go to file
Alex Kennberg 2582c50783
Fix Chrome fullscreen error
When embedding h5p and using the fullscreen enter/exit feature, Chrome can produce the following error:
TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
    at HTMLDocument.<anonymous> 

This happens because arguments.callee is not accessible. To fix this, it is sufficient to name the anonymous callback function and reference it by name.
2021-11-18 20:25:34 -08:00
doc Major clean up of both syntactical errors and spelling 2016-04-13 00:01:15 -04:00
fonts JI-2176 Add new icons for tutorial and example links 2021-05-31 15:29:14 +02:00
images Merge branch 'master' of https://github.com/drsassafras/h5p-php-library into drsassafras-master 2018-02-20 08:45:41 +01:00
js Fix Chrome fullscreen error 2021-11-18 20:25:34 -08:00
styles JI-2176 Fix incorrect paths to h5p font files 2021-06-02 09:36:31 +02:00
.gitignore Update .gitignore 2016-11-23 14:21:28 +01:00
.travis.yml Change lint check to report fails correctly 2019-12-18 08:41:25 +08:00
LICENSE.txt Add GPL license 2015-11-17 14:10:26 +01:00
README.txt Major clean up of both syntactical errors and spelling 2016-04-13 00:01:15 -04:00
composer.json Autoload metadata class 2018-09-17 12:53:09 +02:00
embed.php Clean up syntax and avoid empty values 2017-11-06 09:59:46 +01:00
h5p-default-storage.class.php Replaced DIRECTORY_SEPARATOR (#63) 2019-09-27 11:15:10 +02:00
h5p-development.class.php PHP 7.4 fix, don't use curly braces for array/string offset 2019-10-30 11:28:54 +01:00
h5p-event-base.class.php Major clean up of both syntactical errors and spelling 2016-04-13 00:01:15 -04:00
h5p-file-storage.interface.php JI-1062 Add interface function for saving files from .h5p 2019-03-15 12:52:54 +01:00
h5p-metadata.class.php Add content hub and a11y changes from Drupal git 2020-08-28 10:30:06 +02:00
h5p.classes.php JI-2899 Add aria label to width and height for embed popup (#110) 2021-11-10 12:47:39 +01:00

README.txt

This folder contains the general H5P library. The files within this folder are not specific to any framework.

Any interaction with an LMS, CMS or other frameworks is done through interfaces. Platforms need to implement
the H5PFrameworkInterface(in h5p.classes.php) and also do the following:

 - Provide a form for uploading H5P packages.
 - Place the uploaded H5P packages in a temporary directory
 +++

See existing implementations for details. For instance the Drupal H5P module located at drupal.org/project/h5p

We will make available documentation and tutorials for creating platform integrations in the future.

The H5P PHP library is GPL licensed due to GPL code being used for purifying HTML provided by authors.