New Service Online to Convert H5P-Files to offline-runnable ZIP-Packages

Here is a new service we just created:

https://h5p2zip.edupool.cloud/

 

Just try it out, use it.

 

If is not working in some hours, that is probably because we just change some things and try out new stuff.

 

 

Just added a new feature: With some php-scripts it is now pssible to directly play h5p from the server. No need to convert them, all is done on the fly. So you can just put an h5p-File to your server and link to the virtual-index-file in it.

 

Anyone interested in this project?

 

Works quite fine ...

how to convert

Attachments: 

Thanks guys for building this! Such a great way to publisize content anywhere! No word press or moodle needed and no accounts and passwords! This is ideal for sharing for good formative learning that does not require tracking. Well done. Please keep it going!

Hi, I read that: All fonts, images, scripts and styles from https://github.com/h5p/h5p-php-library are included in the downloaded ZIP-File. Does this also include audio files? Thanks!

otacke's picture

If you download an H5P file, actually nothing that's part of H5P core (https://github.com/h5p/h5p-php-library) will be in the file. But I assume you don't really mean H5P core.

If you download an H5P file, it will include

  • all the content libraries that are required in addition to H5P core to run the content (JavaScript and CSS, potentially also fonts or other valid resources),
  • all the parameters and metedata that the author entered when creating the content
  • all the media that the author uploaded when creating the content (images, videos and audios), but not those that may have only be linked to (e.g. links to audio or video files, videos on Vimeo/YouTube/...)

If you use a conversion tool to create a static HTML version, then in addition to the aforementioned, all the libraries from H5P core (https://github.com/h5p/h5p-php-library) will be in the export as well, but those do not include any audio files.

Best,
Oliver

thanks Oliver for the clarification! The tool is useful. :)

Hi, I read that: All fonts, images, scripts and styles from https://github.com/h5p/h5p-php-library are included in the downloaded ZIP-File. Does this also include audio files? Thanks!

Great work!

Just an additional idea for the zip-archive:

Could you add an imsmanifest.xml to the package?

Why?

Because that would mean that the package would be compatible to SCORM standard!

That means: the zip-Package could be importet to other LMS like itslearning, OLAT and many others .

This is the code for a imsmanifest.xml. Just replace the "title" with the name of the zip - file and the "index.html" files with the name of the html- File in your package.

-------------

!--  

Manifest template to demonstrate the proper XML namespace declarations for

SCORM 1.2 manifests. 

 

Provided by Rustici Software - www.scorm.com.

 -->

<manifest xmlns="http://www.imsproject.org/xsd/imscp_rootv1p1p2" xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_rootv1p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="com.scorm.manifesttemplates.scorm12" version="1" xsi:schemaLocation="http://www.imsproject.org/xsd/imscp_rootv1p1p2 imscp_rootv1p1p2.xsd http://www.imsglobal.org/xsd/imsmd_rootv1p2p1 imsmd_rootv1p2p1.xsd http://www.adlnet.org/xsd/adlcp_rootv1p2 adlcp_rootv1p2.xsd">

<metadata>

<schema>ADL SCORM</schema>

<schemaversion>1.2</schemaversion>

</metadata>

<organizations default="B0">

<organization identifier="B0">

<title>Title</title>

<item identifier="i1" identifierref="r1" isvisible="true">

<title>Title</title>

</item>

</organization>

</organizations>

<resources>

<resource identifier="r1" type="webcontent" adlcp:scormtype="sco" href="index.html">

<file href="index.html"/>

</resource>

</resources>

</manifest>

Hi. We have had issue with our h5p being on 1.23 on our moodle site and have some files made on 1.26. They won't load to our moodle and so i thought your cool zip function might be a good solution. Unfortunately it converts but does not work when loaded as a webpage. I tested it with files made in 1.23 h5p and it works fine. So it might need tweaking to get the 1.26 files to work

Would you be so kind to provide a not working test.h5p?

 

You can send it via email, my adress can be found in the readme.txt in the downloaded zip-package.

 

I only stop by here very occasionally so if you answer here, it can last quite long before I read the answer.

actually we are running 1.25 in our moodle

 

Problem is fixed.

Hi Jan 

luv your tool. Very useful but our current conversions are giving a blank page and asking if we want it translated to German. I have tried all new H5Ps, (as in newly created or freshly created) with multiple types of activities but they all present blank and give the prompt to google translate. I then tried an old H5P that worked before and re zipped it and that worked fine. Wondering if you could take a look at what it might be. I have sent you some of the files like last time. We are wondering if it's a version error?

We are running H5P 1.26.1 2023122500 which I think might be causing the error? I even downloaded an h5p from h5p.org from 2017 and that worked and converted. It seems to be when I create it from our moodle the h5p it creates will not convert. 

Thanks in advance

Scott

Not sure about the rest, but the German bit is because the language declaration is initially set to lang="de" instead of lang="en". Change that and the prompt to translate will go away.

 

It needed an update of the package and they sorted it. Just happened to send us to that page as the error