Does anyone know how to fix the error below?
[email protected]-xenial:/vagrant/web/sites/default/files/h5p/development$ sudo h5p get h5p-interactive-video
Looking up dependencies... ERROR: Cannot connect to server: connect ETIMEDOUT 18.104.22.168:443
Mon, 10/09/2017 - 10:24
I'm on the H5P core team, and I'm using Ubuntu. :)
Regarding using H5P Cli in production
The h5p Cli is intended as a development tool, and not to get your "production ready" content types. I will get the master branch from Github, when what you probably would want for production is the stable branch, or a tagged version.
An alternative to get the content types to use in production, can be the following:
git clone -b 1.17.3 https://github.com/h5p/h5p-interactive-video.git --single-branch --depth=1
npm run build
Of course this will not get the dependencies like the H5P Cli does, but it will be deterministically reproducable. :) But you will have to do the same for all the dependencies you want to use. Also note that not all of them has npm build scripts yet.
Connect with H5P
H5P is a registered trademark of Joubel