Developers

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

Sharing .h5p exports

Forums: 

Hello again,

I am using Drupal on Ubuntu 18.04. When I create new content, it displays correctly and appears as a new .h5p archive in the exports folder.

I recently tried to share a sample .h5p archive with a colleague and he couldn't open it although he is able to create new ones using the same source code we share using GitHub. I tried uploading the .h5p archive myself using the same environment I am using to develop and it didn't work either. A very long list of files (including the LICENSE file but mostly node_modules) are preventing the upload (first screenshot).

xApi statements - getScore

Forums: 

Hi I'm attempting to use some h5p content types in Captivate and need to store some data such as score and completion status. I can see the xApi statements when I use the externaldispatcher and console.log(event.data.statement). However when I try to get something useful by doing console.log(event.getScore()) this returns null or nothing. I've tried to run this on both the arithmetic quiz and the question quiz. 

Any pointers on how I can get to what I need?

Thanks Jorgen

Pages