Developers

Technical forum about Content Type or System Plugin development.
Here you can apply for developer access.

Changing the Interactive Video code

Forums: 

Hello.

I recently started to use H5P and I want to make new content by using the interactive video, but I want to disable some of the options avaliable there (Like only having the option to use single choise set  and nothing else). 

How can can I work with the existing library? the source code is a little intimidating. Where can I start?

From Github to .h5p

Forums: 

Hi I've tried to clone a content type to a local folder and run the following commands

npm install

npm run build

h5p pack -r contentFolder myFile.h5p

This creates a small myFile.h5p that does not include the dependencies and there are no H5P folders inside. It would be fantastic if someone could point me in the right direction on how to go about this...

Thanks a bunch! Jorgen

Customized interaction

Forums: 

Hi I need to add my own behaviour to a content type. What I would like the behaviour to do is add a css animation if the wrong hotspot is selected and possibly play a sound. 

I'm currently looking into using xAPI, but concerned that I will not be able to override the default behaviour of the hotspot and therefore catch the event to late. Am I right that I would have to modify the content type javascript to override standard behaviours?

Thank you Jorgen

Pages