H5p Nodejs installation

Hello,

First of all I want to think the community for this great project.

Second, I found this H5p client enabling installation of the app in a Node environment (instead of PHP). https://github.com/h5p/h5p-cli/
As I'm a bit noob and not really a developer, I didn't know how to use it. My specific question is regarding the h5p-content/blanks folder. I want to know what goes there exactly to be able to run the app server?

Also, my main purpose is to create Interactive 360 videos. I found this git repository : https://github.com/h5p/h5p-three-sixty But I don't know how to use it. Is there any step-by-step tutorial showing how I can use it? That'll be really appreciated.

The final question is regarding the 360 video format that is supported by the video content type. I have tried it with a Youtube video and it works perfectly, but when importing an mp4 video it says "Video format not supported." on some videos and it shows it like in the attached picture for some other videos. So what format does it support exactly? 

PS: for the third question, I'm using the Nodejs library from Lumiedutation found on github : https://github.com/Lumieducation/H5P-Nodejs-library . Maybe the problem will disappear if I use the h5p client from my first question.

Thank you very much in advance for any reply.

Content types: 
serettig's picture

The h5p-cli is outdated and won't work with newer content types. It is also only meant to be run by developers. I'd stick with the Lumi offline editor (https://lumi.education), which you're already using. (Disclaimer: I did Lots of work on the underlying h5p-nodes-library.)

I've noticed the bug with some mp4 video, too. I'll investigate when I have the time. Hopefully, that will be soon.

You can also create content to try out h5p on this site!

Sebastian

Hi Sebastian,

Thanks a mil for your reply. In that case, if I try to install the https://github.com/h5p/h5p-three-sixty library with the Nodejs editor from Lumi in an attempt to update it, would that be a potential solution for the bug? If yes than I'd really appreciate a quick tip on how to install it.

In the meantime, if you find time to check to investigate the issue that'll be great!

Rami.

serettig's picture

You can simply select the 360 degrees content type in the H5P Hub and click on install! No need to go to GitHub for this. An update to the content type won't fix the error, no. This must be done in Lumi.

If you are very new to H5P I'd really advise trying it out here on h5p.org directly!

Hello,

Thank you for your response and sorry for the delay in mine.

I created an account to test as you suggested, but I can't seem to find how to make it work.

When I try the 360 degrees content type, it only allows uploading 360 image but I need to upload 360 video so that doesn't help.

And when I try the Interactive Video content type, it allows uploading the video, but doesn't show it in 360 mode (cf. attached screenshot).

I would really appreciate the help.

Thanks.

Rami.

Attachments: