H5P content won't display in Moodle 3.1

Hi -

Perhaps I'm missing something really obvious, but can't get content to display as a course activity in Moodle 3.1.

Have installed the H5P plugin successfully, created a course, added an H5P activity under the title 'H5P Question Demo', but when I view the activity, only the title is displayed.

Any guidance would be appreciated.

Regards

Mark

tomaj's picture

Hi Mark,

Can you look in your browsers console, to see if there is any error messages there? Just press the F12 button on your keyboard to open the console. Please copy and paste the content here.

Which moodle theme are you using?

If the content is being inserted with Ajax, it might also be a problem.

- Tom

Thanks for your prompt reply Tom.

Am using Eguru, but same problem if I switch to Clean.

Have attached screenshot of error-log.

Mark

Attachments: 
tomaj's picture

Hi Mark,

I see the 404s you are getting. The urls look correct, so it's very strange. Are you having trouble with other Moodle plugins?

Which OS is this running on? Have you set the file access rights on all folders correctly, based on the moodle setup instructions?

- Tom

Have to admit I'm a complete Moodle novice, so could quite easily have incorrect settings.

The site is currently just a proof of concept and has no users or content (other than the inoperative H5P activity), so if you were to message me privately, I could give you the username and password for the installation and you could perhaps have a dig around (?) Would be greatly appreciated.

markcspittle at gmail.com

tomaj's picture

Hi Mark,

I'm not a Moodle expert either, so you might get some better help at the Moodle forums, concerning correct installation.

But last week I created a Docker image for running H5P with Moodle. So if you can install Docker, this might be of use for you.

The recommended way of using it is cloning this repo and running docker compose up inside it.

- Tom

PS: Note that this is for development and testing environments, and not for production.