replacing "star" on questions with something else?

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's picture

Hi frumbert!

You can hide it by overriding stylesheets. https://h5p.org/documentation/for-developers/visual-changes

Best,

Oliver 

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's picture

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 

I didn't realise there was a "core" version and a "plugin" version that were different things. 

otacke's picture

Hiho!

They are: https://h5p.org/node/979328

Cheers,

Oliver