Store current content state in external database



I added the feature to display h5p content in my LMS and i would like to store the current state of my users.

Is there a best way to do this ? Using xAPI ? Using an "H5P APi" ?

I of course also need to set this content state to the h5P when my user come back.

Thanks a lot

No content showing

I've installed H5P on a wordpress multisite at the network level. On a new site running in a new folder I've created some H5P content. I can author content fine, but after the SAVE function I don't get the preview nor does it show on the live site on a page with the shortcodes. I just get a blank. 

I am getting errors in the log: