Bugs in content types

Report and discuss bugs related to specific H5P content types

error: call to undefined function str_contains() MOODLE 3.10

The interactive book content is not responding due to the following error: call to undefined function str_contains(). This occurs only when re-entering the content. According to my research, this is due to the PHP version, which needs to be 8, as I have Moodle version 3.10 and do not have that version of PHP. I would appreciate your prompt attention to this matter. Thank you very much.

 

Audio bar not responsive

Hello! It has caught my attention that the audio bar iframed from h5p doesn't seem to be responsive. It seems to have a set length, unchangeable by us through the iframe. I have seen that you have a resizer, and we use this for other elements, but the audio bar in specific isnt responsive within the iframe itself, so I doubt this would help in this instance?

Example: 

Normal

Pages