can use and customise h5p in react

Forums: 

hi

can i customise (source code) and  use in reactjs?

and backend(php/node)?

if yes how can i do it is there any doc for that?

serettig's picture

Yes, of course you can customize H5P - it's open source software. It's also possible to use React, but there currently is no H5P SPA that I'm aware of. All of the PHP implementations use server-side rendering to add H5P to a website.

You can integrate the H5P core into your PHP application like this: https://h5p.org/creating-your-own-h5p-plugin

There's a community-developed NodeJS version of the server at https://github.com/lumieducation/h5p-nodejs-library

Both technologies allow creating REST endpoints in theory if you put in some effort. The PHP version is less documented, though, in my opinion.