Developers

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

Load Javascript after the preloadedJs

Forums: 

Hello,

Iḿ trying to develope a h5p content, but I need to add javascript after the dom has loaded because the js is a complete react app and needs the div container created from the "preloadedJs".

I tried to load the js with jquery getscript in the "C.prototype.attach" method with a relativ path. A "test.js" file in the same folder that contains the file with the "C.prototype.attach" function is cannot be found.

Modifying h5p-interactive-video code

nadavkav's picture
Forums: 

Hello H5P dev Team,

I would like to make some improvement to the h5p-interactive-video librery, and some of its dependencies.

I used h5p-cli to download it locally ("h5p get h5p-interactive-video") and I am tring to view it with the local web server by using: "h5p server"

But I am getting to many JS errors. some I can ignore, but others are fatal. and it seems I am not on the right track :-(

btw, if I unzip a distributed h5p package from h5p.org it works fine, but obviously... all the JS is minified, and I can not use it.

Communication with Moodle Gradebook

Forums: 

Hi Guys,

I started to create a own Content-Type with H5P and now i want that this one can store data into the Moodle gradebook. So like the normal multiple choice questions store the result of the students in the Gradebook. But I don't know how the communication between H5P and the Gradebook API from moodle works.

Can somebody help me?

 

Cheers landa

Pages