This project was bootstrapped with Create React App.
-
The H5P editor needs a server running. I cloned https://github.com/Lumieducation/H5P-Nodejs-library and ran
npm start
in thepackages/h5p-rest-example-server
folder. Be sure to runnpm install
in that repository's root folder first. -
Run
yarn start
. -
http://localhost:3000 should display an H5P editor. Maybe you don't see any exercise types. In that case, run the
packages/h5p-rest-example-client
in the other repository, log in as admin and install the multiple choice plugin. -
Create a multiple choice task and click save. Saving does not actually work (due to the login model of the example server), but the save method is the only place where I could access the editor content as JSON. For now it is just displayed below the editor. You may have to click save twice.