I'm testing moodle 3.8 (master) on my localhost machine.
Version Moodle 3.8dev (Build: 20190905)
I see that in that future version of Moodle the H5P plugin is included in the default plugins. Unfortunately I cannot get it to work on my local machine.
With full debug mode on, it returns a number of errors:
Notice: Undefined property: stdClass::$httpswwwroot in C:\xampp\htdocs\moodle_master\mod\hvp\locallib.php on line 40
Notice: Undefined property: stdClass::$httpswwwroot in C:\xampp\htdocs\moodle_master\mod\hvp\locallib.php on line 107
Notice: Undefined property: stdClass::$httpswwwroot in C:\xampp\htdocs\moodle_master\mod\hvp\locallib.php on line 155
Notice: Undefined property: stdClass::$httpswwwroot in C:\xampp\htdocs\moodle_master\mod\hvp\locallib.php on line 188
and also in the console:
Échec du chargement pour l’élément <script> dont la source est « http://mod/hvp/library/js/jquery.js?ver=2019052100 ». modedit.php:1:1
Échec du chargement pour l’élément <script> dont la source est « http://mod/hvp/library/js/h5p.js?ver=2019052100 ». modedit.php:1:1
Échec du chargement pour l’élément <script> dont la source est « http://mod/hvp/library/js/h5p-event-dispatcher.js?ver=2019052100 ». modedit.php:1:1
and many other errors!
Any idea?