Interventi di Joseph Rézeau

Immagine Core developers Immagine Plugin developers Immagine Testers Immagine Translators

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?

 

Media dei voti:  -
Immagine Core developers Immagine Plugin developers Immagine Testers Immagine Translators
Hi jintana,
You may have your reasons, but from a pedagogical point of view I don't think it's a good idea to force a student to answer a question (if they don't know the answer).
If a student does not know an answer, and you force them to select an answer, they may either select a correct or an incorrect answer, but you will never know whether their choice was made out of knowledge or ignorance. Is that what you really want?
Have you considered using the Certainty-based marking option in your quizzes?