Enable/disable solutions, reset buttons dynamically

sppearson's picture
Forums: 

Is there a standard mechanism that will allow integrating platforms to set the params.behaviour.enableSolutionsButton and .enableRetry flags of content types that implement the "Question Type" contract at init time (overriding content.json)?

otacke's picture

There's an "alter filtered parameters" hook that can be used to reshape parameters after loading them from the database. Please check the customization page for you plugin (https://h5p.org/node/2692) and find the reference implementation via the link in the yellow box.

There's no inbuilt switch to override the values in any of the H5P integrations if that was your question.