Save content state in Learndash


First: I'm adding H5P content to the Grassblade xAPI content and then adding it to a question in shortcode and in the metabox for completion tracking. The problem is that it isn't being accounted by Learndash. Even when I answer it correctly the Learndash LMS says I responded wrong, how can I solve this?

Second: I would like to know if it's possible to save an user's answer and prevent him from retrying to answer a question with a xAPI Content which has a H5P content, specifically, on the Learndash LMS.

The file you uploaded is not a valid HTML5 Package(H5p module update time Error)

VM2251 h5p.js:876 Invalid library params for: H5P.QuestionSet 1.15 this type of error is genrate when i click on my question set that way i  am update my question set but when i update my question set that time The file you uploaded is not a valid HTML5 Package this erro genrate..

what should i do next?


see my Attachments 

Change URL for Cookie Free Domain



I have set up my wordpress site to serve static content from static.my-site.com to the live site www.my-site.com. In Wp-config I have defined, the cookie domain, content URL and plugin URL. 

H5P is recognising the new plugin URL however it seems to serve many things including js script URLs from the standard wordpress site_url, which now means the scripts dont load. Is there anyway of defining the site_url seperately either through pasting code into my theme functions.php or a plugin?