Font awesome in H5P 1.27
Submitted by Philibert Vignol on Mon, 10/06/2025 - 19:15
Forums:
Hello,
Since an H5P update on Moodle 4.5, the Question Set, Multiple Choice, and Drag and Drop activities are displayed with very ugly icons. It seems that Font Awesome is no longer being displayed. What should I do?
Thanks
Philibert
papi Jo
Tue, 10/07/2025 - 18:19
Permalink
hi Philibert
did you empty ALL your Moodle site's caches?
Philibert Vignol
Tue, 10/07/2025 - 18:31
Permalink
Hi Papi Jo, Yes, all caches
Hi Papi Jo,
Yes, all caches have been cleared.
The Font Awesome icons are also not displaying correctly on WordPress and Lumi.
It looks like the Font Awesome libraries aren’t being loaded in the module.
otacke
Tue, 10/07/2025 - 22:38
Permalink
That does not look as if only
That does not look as if only FontAwesome had an issue. You could start by adding essential information such as potential messages shown in the browser console or the PHP error log, see https://snordian.de/2024/02/17/how-can-i-craft-an-effective-bug-report-f... for details.
Philibert Vignol
Wed, 10/08/2025 - 09:38
Permalink
Hi Otacke, Attached is a
Hi Otacke,
Attached is a screenshot of the error in the console.
There is also an example of an H5P file that I can’t get to display properly on Moodle.
papi Jo
Wed, 10/08/2025 - 19:23
Permalink
hi Philibert
it seems that your attached file les-objectifs-et-le-plan-du-cours-36592.h5p is corrupted. Do not use it and I advise members of this forum to NOT download and upload it to their own H5P sites, as it will corrupt their Font Awesome library. I am now struggling to restore my own Font awesome library on my h5p site!
Please moderator remove that file from Philibert's post !!!
Philibert Vignol
Wed, 10/08/2025 - 19:42
Permalink
The H5P content created with
The H5P content created with older libraries is working well, so I decided not to make any changes to it. However, all H5P content created now is corrupted—and not only on my Moodle! We are three developers and have concluded that the library update has corrupted all newly created H5P content. Even after installing a fresh Moodle with the H5P module, the H5P content is corrupted. We really don’t understand what is going on. We are now hoping for a fix.
otacke
Thu, 10/09/2025 - 00:03
Permalink
Could you please send me the
Could you please send me the corrupted file? https://snordian.de/contact/
Philibert Vignol
Wed, 10/08/2025 - 19:34
Permalink
Oh!!All the H5P generated are
Oh!!
All the H5P generated are in this format. On Moodle 4.3, 4.4 et 4.5.
Even on Lumi online! I just advised the entire team of teachers to stop using H5P and wait for a fix.
papi Jo
Wed, 10/08/2025 - 22:43
Permalink
hi Philibert
1.- you wrote "Since an H5P update on Moodle 4.5, etc." What do you mean by "update"?
2.- you do not say whether you are using on your Moodle site the H5P core activity OR the H5P external plugin (or both?)
3.- sorry I jumped to the conclusion that your file was somehat "corrupted" ; actually the problem is that some H5P contents use the Font Awesome 4.5.6 library and others use an older version Font Awesome 4.5.4. The problem comes from this confusion. I need some time to investigate the problem some more.
Philibert Vignol
Thu, 10/09/2025 - 01:56
Permalink
Hello Papi Jo, It was an
Hello Papi Jo,
It was an update of the H5P libraries on a Moodle 4.1 instance.
I mainly use the H5P mod, the external plugin (the one with the black logo).