General discussion

Newbir

Hi folks,

I'm a newbie here....just joined.

I currently use the Learndash LMS on wordpress

I currently track xapi for pdf downloads and videos through Grassblade LRS

Could I create pdf downloads and videos xapi tracking through H5P?

I also have the Learndash quizzes and quiz results - how would that work through H5P, or would it?

Any help with this would be very useful...I've just noted that the uncanny owl plugin supports xapi tracking through H5P and that could work, if I could work out how to use the H5P?

Thank you.

Interacting with the YouTube JavaScript Player API

Hi, I'm wondering whether anybody has looked into how the YouTube API can be used alongside H5P.

Specifically how to add a callback on video completion - i.e. extending the onStateChange.

What's the best way to extend the YouTube API implemented in scripts/youtube.js? This seems to run before any JavaScript from hook_h5p_scripts_alter (in the Drupal module).

Any thoughts would be appreciated.
Jon

Pages