Interactive video react components

Forums: 

Hi I want to use interactive video of a hp5 file in my react app the server is PHP I don't want to use iframe to include PHP in my app 

How can it possible to use react/Vue components of h5p that connected to the server by api