H5P developpers to the next French Moodle meeting please !

zabelle_motte's picture
Forums: 

Hello,

There is a big discussion in the french Moodle community about the H5P-Moodle integration :
https://moodle.org/mod/forum/discuss.php?d=377299

It would be great fot  the Moodle community to discuss directly with an H5P developper.
Would it be possible for someone in the H5P team to participate the next French MoodleMOOT Meeting in France ?
It is planned on 3-5 july : https://rennes-2019.moodlemoot.fr/

It would be possible to organize a discussion about H5P-Moodle integration potentials and weakness ...
If needed, it would be  possible to animate the discussion in English.

With great thanks for this powerful interactivity library,

Kisses

Zabelle

falcon's picture

Hi Zabelle,

Thank you for reaching out. If Google translate serves it seems the discussion thread in French started out with some misunderstandings in the first comments, but they were luckily clarified by community members further down in the thread. Some of the "critisism" is also correct, namely that the H5P code is different from the rest of the Moodle code. The H5P library is written for Drupal, WordPress, Moodle and many other PHP frameworks so the generic code used in all framework integrations does not follow Moodle styles.

Regarding the conference, we typically only participate digitally. In a few occasions we travel to conferences and present physically when the host covers all our costs, including the time we spend on it. Our main focus is on developing H5P - empowering everyone to create, share and reuse interactive content.

zabelle_motte's picture

Thanks for answer !
I let MoodleMOOT organizers informed about the possibility for you to participate digitally.
Wathever happens, I propose to make you a summary of the feedback of the french Moodle community on the H5P Moodle plugin.
Are there H5P meetings planned  ? This could also be great to meet other H5P users ;-)

With congratulations for this fantastic javascript library ;-*

Zabelle

 

 

 

falcon's picture

Hi again Zabelle,

Thank you for that. We do have a new H5P Conference planned. It will be anounced soon ;)

zabelle_motte's picture

Hello,

We finally proposed a communication for the French MoodleMOOT in Rennes that will study how the H5P Moodle plugin works, how secure it is, and what should be done so that this plugin becomes fully Moodle compliant. I will produce a report in English with as much suggestions as possible and it will hopefully be recorded.

One of the question that raises in Moodle community, is where the javascript H5P files are stored.
While looking in the database, we see that each H5P content is stored in a Json field but where are the Ajax script used to build contents based on this Json ?
Some Moodle admins suspect the Moodle H5P plugin to make external code integration and that makes them feel unsecure about this plugin.
I had a look at the H5P Moodle plugin code, and I do not find javascript files associated to the H5P content types.
Where are these files stored ?  Are there generated while used ?

I begin reading the H5P developer documentation but if somebody has time to give me some keys to break the H5P scripts mystery, it is welcome ;-)

Thanks in advance for help,

Zabelle

 

falcon's picture

Hi Zabelle. They are stored as files in the Moodle file API so if you look in the folders where uploaded files end up you'll find all H5P files there as well including js and css. It is the only place we can store files in Moodle.

When an admin installs files by uploading files the files are transferred from the uploaded .h5p files into the Moodle file storage. If the admin installs using the hub the files are fetched from api.h5p.org.

zabelle_motte's picture

Hello Falcon,

We unravel the mystery at the end of last week.
We found that the js files associated to each H5P asset was stored using the Moodle file API and that the hvp_libraries and hvp_libraries_cachedassets tables stored the informations to catch the files. This is an original approach but regarding the long H5P assets list and its dependencies, it avoids Moodle admin to have to make more than 80 plugins updates.

We didn't see any external call while using the H5P plugin, except when a new asset type is installed and we noticed that H5P "listens" to sites which use H5P using tokens on install links. This is important for H5P to explain what H5P does with these datas. It is probably used to make stats on assets use but you should mention it somewhere. I did not find any mention about it but I find it to be a kind of site registration process, like Moodle and other open source tools propose to do.

We found it interresting to have add the possibility to install assets without using the hub. It is a bit tricky due to dependencies but some Moodle admins prefer that approach. You could also offer the possibility to use the hub without "listening" to actions, while proposing an explicite registration, that enables the token process.

We also tested H5P contents suppression and uninstall and everything seems to work fine.
We will now have tests with backup, restore, duplication and reset.

Best regards,

Zabelle

otacke's picture

Hi Zabelle!

If I understand correctly, you're looking for https://h5p.org/tracking-the-usage-of-h5p ? 

Best,

Oliver 

zabelle_motte's picture

Hello Olivier,

This would be great for this page to be integrated in the H5P documentation.
Have you been writing it this night ? ;-)

I will inform the French Moodle Community about it next week.

We pursue out tests and let you know the results...

Kisses

Zabelle

otacke's picture

Hi Zabelle!

:-) No, that page is very old, and it's linked to from the H5P settings of WordPress and Drupal and I guess from the H5P settings within moodle as well. It's also accessible from the documentation's GDPR page.

I'm not part of the core team, so someone else would have to put it into the documentation separately.

Best,

Oliver 

BV52's picture

Hi to the both of,

I already informed the core team regarding this.

-BV52