As the
Learning Record Store (LRS) where you store your xAPI Statements is external to your VLE (or internal, doesn't really matter as long as you can see it) your
H5P object can pass an xAPI statement to the LRS and capture the experiences the student is being exposed to.