replacing "star" on questions with something else?
Submitted by frumbert on Fri, 08/28/2020 - 02:40
Forums:
I have a client [using Moodle] who feels the bouncy "star" graphic you get at the end of a question / interaction is "too cartoony" for their audience. How does one go about removing or changing it?
otacke
Fri, 08/28/2020 - 14:48
Permalink
Hi frumbert!You can hide it
Hi frumbert!
You can hide it by overriding stylesheets. https://h5p.org/documentation/for-developers/visual-changes
Best,
Oliver
frumbert
Sun, 08/30/2020 - 11:06
Permalink
This doesn't appear to work
This doesn't appear to work in Moodle 3.9.1 using the core h5p system. Not surprising since the code you linked to is 4 years old, and moodle 3.9 is only a couple of months. It would appear that the /h5p/classes/player.php class file has a function call `get_assets()` that returns its list of javascript and script assets from a static list and there is no extra consideration for overridden content files.
otacke
Mon, 08/31/2020 - 20:22
Permalink
Hi frumbert!Next time, please
Hi frumbert!
Next time, please supply all relevant information beforehand. There's nothing wrong with the code or its age. However, indeed the moodle core version of H5P does not support the hooks. You would have to address the moodle team since they were the ones who created that very implementation, not the H5P core team.
Best,
Oliver
frumbert
Tue, 09/01/2020 - 09:48
Permalink
I didn't realise there was a
I didn't realise there was a "core" version and a "plugin" version that were different things.
otacke
Tue, 09/01/2020 - 20:46
Permalink
Hiho!They are: https://h5p
Hiho!
They are: https://h5p.org/node/979328
Cheers,
Oliver