Trigger an Event when H5P content is completed ?

I'm usisng the video-interaction with wordpress. I use Vimeo for my videos.

Everything is working fine.

However, I would like to capture the video completion event, when the H5P video is ended. For example, Triggering to next module after 5 seconds when the video is completed. and mark unit as complete.

Something like this 


Which event is triggered and how i can use it when the H5P media is completed ?

I know I need to use xAPI events, but I'm not able to listen to media complete event?

Is there some way I can get the status of the video to determine if it's completed??

Trigger an Event when H5P content is completed ?
Content types: 
BV52's picture

Hi ahsan,

Please see my answer here.