h5p is an amazing tool and xAPI coverage is well explained too, but how to build a tincan package to import it into an LMS (with an LRS)?.
For example, I have installed wordpress with H5P plugin (https://wordpress.org/plugins/h5p/) and I can create and delivery new H5P content But now I want to export this content to a Tincan Package in order to import it to my LMS (which has a LRS inside). From my point of view, my tincan.xml file should be something like this and H5P content should get LRS end Point and credentials from the LMS when the content is launched from the LMS.
<?xml version="1.0" encoding="utf-8" ?>
<activity id="http://mysite/mycontent" type="http://adlnet.gov/expapi/activities/module">
</tincan>Perhaps a button "Create Tincan package for this content"