General discussion

Modifying the Embed Code

roman's picture

Hi all, I am wondering if there is an easy way to modify the embed code that the H5P gives out in Drupal. If I could create a custom module to do that, it would be great. 

I am asking because I would love to modify some parameters in the code as well as include a style tag to make sure that the presentation has a max width instead of becoming gigantic on a page due to the resize.js code.

Speaking of the js code I would also like to point it to a location that is not in the sites folder if possible. 

Thanks for any input.

 

Roman

Request for fancy magic

We have a lot of users that go thru a course presentation but don't go right to the end and hit the summary slide. They are in a limbo state that shows them as not having completed the course presentation, but actually they have, sort of. They've answered all the questions, watched all the videos, accessed all the slides, but not the summary slide. As we all know, it's on the summary slide where h5p fires the completion event and spits out the final score, etc via xAPI.

Pages