Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone Editor #35

Open
tdxdave opened this issue Dec 17, 2019 · 4 comments
Open

Standalone Editor #35

tdxdave opened this issue Dec 17, 2019 · 4 comments

Comments

@tdxdave
Copy link
Contributor

tdxdave commented Dec 17, 2019

I am interested in creating a standalone version of the H5P editor. That is, it would be a javascript hosted version of the editor. It would have to contain links to the backend server urls to save content, of course. The idea is to separate the loading of all the javascript for the editor from the web/application server process.

Is this something that you might want to incorporate into this project? Do you know if anyone has already tried this?

@sr258
Copy link

sr258 commented Dec 17, 2019

I'm not sure if it fits your needs, but we're currently writing a H5P implementation for NodeJS: https://github.com/Lumieducation/H5P-Nodejs-library

We are close tor releasing a v1 version of the library, but we're not there yet.

I'm not sure what you mean by "a javascript hosted version". Is this NodeJS? Or do you mean that you simply want to host the required files statically?

I don't think it is possible to have a h5p editor that does not have an active server that does all the library management and deals with temporary files. Joubel's editor client calls AJAX endpoints for several things, and I'm not sure this all can be done in the client.

@Jakeii
Copy link
Member

Jakeii commented Dec 17, 2019

We'd definitely be interested in incorporating the H5P editor! I'm fairly confident it's possible, and it's been on the wishlist for a while, there hasn't been much bandwidth for this project until recently, but things are picking up again.

@tdxdave
Copy link
Contributor Author

tdxdave commented Dec 18, 2019

Thanks, sr258, the server would handle uploading and putting libraries where the player/editor javascript can find it. I already have a proof-of-concept to integrate the player. Where the JS code comes in is loading the dependencies for the editor in the front end. Doing that management server side doesn't make sense. Jakeii, thanks, I will learn as much as I can about what's already there, and see what I can come up with.

@sr258
Copy link

sr258 commented Dec 18, 2019

Check out the list [here](https://github.com/Lumieducation/H5P-Nodejs-library/wiki/Things-the-PHP-library-does l).To be honest, at first I underestimated a lot how complex the editor server is! it does a lot of stuff and it‘s much more difficult to implement one than a player.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants