Convert h5p to html / script and the other way

or5708's picture
Forums: 

Hi everyone,

Is there a way to convert h5p to html, do some changes, revers it and use it?

Is there any tool which can help me?

Thank you,

Ora.

otacke's picture

Hi or5708!

I am not exactly sure what you're asking for. The browser side of H5P is written in JavaScript which is loaded from within the HTML docoument, but you can't convert it to HTML.

Best,
Oliver

I found a service to convert H5P to HTML.

metaXdata-Konverter

https://www.metaxdata.eu/konverter

Regards Hartmut

or5708's picture

That is great, thank you, But I still want to use it as H5P, becouse I use Moodle site.

I will try to see the "behind the scenes" of my H5P using it. Thank you!

Ora.

or5708's picture

I would like to see the code, in order to fix some RTL problems and see some things I can not understand why happening.

Is there any way to see the JScript code, maybe change it, and then use it again as H5P?

My guess is that that must be a way becouse that what all developes do, isn't it?

Thanks a lot,

Ora.

 

 

otacke's picture

Hi or5708!

All the code is on github at https://github.com/h5p. There's also all kinds of documentation for developers at https://h5p.org/developers.

Best,
Oliver

or5708's picture

:)

Ora.

BV52's picture

Hi Ora,

You can either check the codes in the github repo or you can simple change the file extension from .h5p to .zip and open it. Please note that changing the codes in the zip folder may cause corruption and you might not be able to upload it back.

-BV 

or5708's picture

:)

Hi All,

I am creating a course presentation to run in Moodle and have used the "Go to Slide" option. I would like to add an option that the user will be able to close the browser window when the presentation has reached the end.  Is this possible?

Thanks in advance for your response. Julie

BV52's picture

Hi Julie,

I'm no developer but I am assume this is possible by changing/adding some codes to the content. You can check this documentation for more details in making changes to H5P contents.

-BV

Thank you BV. I will check out the documents.

or5708's picture

:)