Moodle: H5P Interactive video question type buttons gone

Hi H5P Community

I recently set up H5P with some content types in our Moodle, enabling interactive video.
A user with editingteacher rights was making tries with it and at the same time I myself was busy tracking down what was leading finally to https://h5p.org/comment/14858.

To make the long story short, I think I must have messed up something with the capabilities, since the user then came back to me stating the video question buttons have been gone.

Where am I mistaking?
I have the following capabilities for editingteacher. The're the default, aren't they?

Get cached H5P content assets
mod/hvp:getcachedassets
Allow

Add a new H5P Activity
mod/hvp:addinstance
Allow

Get/view content of H5P file in course
mod/hvp:getcontent
Allow

Get export file from H5P in course
mod/hvp:getexport
Allow

Save H5P content user data
mod/hvp:savecontentuserdata
Allow

Save result for H5P content
mod/hvp:saveresults
Allow

View result for all users in course
mod/hvp:viewallresults
Allow

View result for own questions in course
mod/hvp:viewresults
Allow

Install recommended H5P libraries
mod/hvp:installrecommendedh5plibraries
Allow

Thanks for any advice,

Luca

thomasmars's picture

Hi,
What does the video question buttons being gone mean ? Could you elaborate or provide a screenshot ?
Is this in the editor or in the view ?

The capabilities seems correct for the user, but be aware that locally set roles for a single activity may not work like you want yet, it will be addressed with the following issue: https://h5ptechnology.atlassian.net/browse/HFP-1433.

Oh, the image is missing!

I found out the reason.
I originally wanted to restrict the H5P Content types to

Course Presentation
Dialog Cards
Documentation Tool
Image Hotspots
Interactive Video
Timeline

only.

But then, if Single Choice set restricted, the button to insert such a interaction onto a video disappeared.

Turns out I had to allow


Drag and Drop
Fill in the Blanks
Mark the Words
Multiple Choice
Single Choice Set
True/False Question

too.

Not that I intentionally wanted to present 12 H5P Content types instead of the original 6. But, I think, that's the price I have to pay. Or are there any other ideas?

tomaj's picture

There is always the option to use css, to hide any button you don't want to be showing. You can read more about how to add css (inside the H5P iframes) in the documentation.

Good luck!

- Tom

thomasmars's picture

Hi, unforuntately there's no way to restrict content types as standalone, but not inside other content types.
You should post a request for it in the "feature request" forum, I'm sure there are others that also want this.
This might be addressed as part of the upcoming "Add-ons" feature in the h5p roadmap.