neoH5P
Execute H5P content within your apps.
V: 1.0
How to use:
1. Rename your *.h5p file to *.zip.
2. Unzip the renamed file into a folder.
3. Include the folder in your project (Project > Properties > Libraries / Files)
4. Use the new command neoH5PStart
neoH5PStart "ContainerName" "FolderName" [maxScore] [userScore] "callbackSubroutine"
5. Compile.
6. Run your app using a web server as it needs a "secure context" (neoPhp Server will do the job)
Sample app:
https://visualneo.com/tutorials/neoh5p
neoH5PStart
Purpose: |
Start a unzipped H5P content into a Container object. |
Category: |
neoH5P |
Syntax: |
neoH5PStart "objId" "folderName" [maxScore] [userScore] callbackSub
objId Select a Container object folderName H5P unzipped content folder name (ie: myfolder) maxScore Variable to store max score userScore Variable to store user score callbackSub Callback subroutine (excuted when the user answers) |