Open sunnythewebdeveloper opened 4 years ago
This content type needs to be built first. Please cmp. the description at https://github.com/otacke/h5p-cornell#getting-started
@otacke thanks a lot for reply.
I ran to same issue while packaging "h5p-interactive-video"
it seems many of the dependencies need to be build.
is there any easier why through "h5p cli" to get all the dependencies build while packaging ?
or we need to do it manually for all the dependencies ?
Best Regards, Sunny
@sunnythewebdeveloper It depends on what you're trying to achive. If you omit the -r parameter, then you'll only pack the library of Interactive Video and can share and upload it separately. If you make changes to multiple libraries, you can specify those when packing with h5p-cli.
Using the -r parameter is useful if you want to have a complete (and done) package that you want to share with others. And then you'll have to build all packages. Shouldn't be complicated to come up with a script for automating that.
@otacke thanks again
I got the library using the following cli command
h5p get h5p-drag-question
Build the package using following command
h5p pack -r h5p-drag-question h5p-drag-question-curriki.h5p
Got following error while trying to upload to WordPress, screenshot attached
How can I generate the missing "h5p-drag-question.js" file ?