LMS (Canvas) pages jump to h5p objects with the LTI option 'resume content' selected


  1. Steps to recreate the bug

Insert h5p documentation tool (also happens with presentation) into a Canvas LMS page, not at the the very top of the page - try middle, to bottom of a page, with text and other content above it. Activate the LTI setting resume content. When you click on NEXT in Canvas on the previous page, as the next page loads it jumps to the documentation tool, skipping all the content above it. It seems to be temperamental, sometimes it happens, sometimes it doesn't, and it can be when logged in as a student or as staff/admin. In 'student view' when logged in as staff it doesn't happen. 

It only happens when 'resume content' is selected. When deselected this no longer happens.

  1. Platform you're using: Drupal, Wordpress, Moodle (version number would be helpful as well)


  1. Mobile or Desktop


  1. Browser: Chrome, Firefox, Safari etc

Chrome, Firefox, Edge

  1. H5P plugin version
  2. H5P content type version

documentation tool and presentation

  1. Screenshots if it's a visual problem

Screen shots don't do it justice - i have a screen cast video but can't upload. here it is on youtube: https://youtu.be/THFJeG0sJH8

  1. How sets do you have in total?

I don't understanding this.

  1. Please provide a sample H5P so that we can test it. - attached.


Thank you!


otacke's picture


I have created a fix for the issue in Documentation Tool, but the H5P core team will need to review it, merge the new code in and release an update of Documentation Tool. You should be able to track progress in the respective ticket.