Download Libraries for Moodle + H5P in Offline environment

twilliams's picture

We use "Moodle v3.1.8" in an isolated offline environment to create course content for our clients.
I have just installed the "H5P (release v1.7)" plugin and now looking for a way to install all of the libraries.

From what I understand I can download and install them one-by-one however writing to ask if there is a way to install all libraries at once?

BV52's picture

Hi twilliams,

Yes you need to download all the libraries to be able to use the all the contents. Although you don't really need to download "all" of them. There some sort of a shortcut and the fastest way I found is to download/install Column and Course Presentation. These 2 contents have several content dependencies which automatically gets downloaded and installed with them. What I regularly do when updating or installing a fresh set of of libraries is download a sample content from H5P.org and upload them (IMOO this is faster). And to make the process more efficient I created 2 simple contents to serve this purpose. You can use them as well and here's the link for CP and Column.

-BV52

twilliams's picture

I had a scenario where I had to install all the H5P modules in an offline environment. The only way to do this is by visiting the H5P website, click each module one-by-one and click the "reuse" button to download the module file.

I created a little windows application called "H5P Content Downloader" which basically collects all the direct links to the H5P modules and allows you to download them all to the specified folder. I originally made this for myself but felt that others may find this useful so have shared it here - attached to this post. The application is a windows executable (EXE file) which the forum will does not allow, same with ZIP files - so I have simply renamed the extension to H5P which is supported.

How to run (no installation required)

  1. Download the file attached to this post: H5P-Content-Downloader-v1.02.h5p
  2. Rename the extension from "h5p" to "exe"
  3. Double-click the file to launch

Note:

  • The application is not digitally signed which may trigger some anti-virus applications.
  • If you have any troubles running the application try running it as an Administrator
  • If you're still having troubles let me know and I will try and resolve them with you.

For those who are interested, this application was created using AutoIt which is great little scripting tool for creating small, self-contained scripts/applications such as this: https://www.autoitscript.com

For those who just want the direct links to download the modules themselves - here is the list below:

** LIST UPDATED: 26-NOV-2021 **

https://h5p.org/sites/default/files/h5p/exports/accordion-6-7138.h5p
https://h5p.org/sites/default/files/h5p/exports/advanced-blanks-example-...
https://h5p.org/sites/default/files/h5p/exports/advent-blue-snowman-1075...
https://h5p.org/sites/default/files/h5p/exports/agamotto-80158.h5p
https://h5p.org/sites/default/files/h5p/exports/arithmetic-quiz-22-57860...
https://h5p.org/sites/default/files/h5p/exports/audio-recorder-142-12149...
https://h5p.org/sites/default/files/h5p/exports/berries-28-441940.h5p
https://h5p.org/sites/default/files/h5p/exports/chart-7143.h5p
https://h5p.org/sites/default/files/h5p/exports/collage-3065.h5p
https://h5p.org/sites/default/files/h5p/exports/contact-18-1022298.h5p
https://h5p.org/sites/default/files/h5p/exports/course-presentation-21-2...
https://h5p.org/sites/default/files/h5p/exports/dialog-cards-620.h5p
https://h5p.org/sites/default/files/h5p/exports/dictation-389727.h5p
https://h5p.org/sites/default/files/h5p/exports/documentation-tool-3022.h5p
https://h5p.org/sites/default/files/h5p/exports/drag-and-drop-712.h5p
https://h5p.org/sites/default/files/h5p/exports/drag-the-words-1399.h5p
https://h5p.org/sites/default/files/h5p/exports/essay-4-166755.h5p
https://h5p.org/sites/default/files/h5p/exports/example-content-crosswor...
https://h5p.org/sites/default/files/h5p/exports/example-content-find-the...
https://h5p.org/sites/default/files/h5p/exports/example-content-image-ch...
https://h5p.org/sites/default/files/h5p/exports/example-content-image-pa...
https://h5p.org/sites/default/files/h5p/exports/example-content-sort-par...
https://h5p.org/sites/default/files/h5p/exports/example-content-virtual-...
https://h5p.org/sites/default/files/h5p/exports/fill-in-the-blanks-837.h5p
https://h5p.org/sites/default/files/h5p/exports/find-the-hotspot-3024.h5p
https://h5p.org/sites/default/files/h5p/exports/flashcards-51-111820.h5p
https://h5p.org/sites/default/files/h5p/exports/guess-the-answer-2402.h5p
https://h5p.org/sites/default/files/h5p/exports/h5p-column-34794.h5p
https://h5p.org/sites/default/files/h5p/exports/iframe-embedder-621.h5p
https://h5p.org/sites/default/files/h5p/exports/image-hotspots-2-825.h5p
https://h5p.org/sites/default/files/h5p/exports/image-juxtaposition-6504...
https://h5p.org/sites/default/files/h5p/exports/image-multiple-hotspot-q...
https://h5p.org/sites/default/files/h5p/exports/image-sequencing-3-11011...
https://h5p.org/sites/default/files/h5p/exports/image-slider-2-130336.h5p
https://h5p.org/sites/default/files/h5p/exports/impressive-presentation-...
https://h5p.org/sites/default/files/h5p/exports/interactive-video-2-618.h5p
https://h5p.org/sites/default/files/h5p/exports/mark-the-words-2-1408.h5p
https://h5p.org/sites/default/files/h5p/exports/memory-game-5-708.h5p
https://h5p.org/sites/default/files/h5p/exports/multiple-choice-713.h5p
https://h5p.org/sites/default/files/h5p/exports/personality-quiz-21254.h5p
https://h5p.org/sites/default/files/h5p/exports/questionnaire-4-30615.h5p
https://h5p.org/sites/default/files/h5p/exports/question-set-616.h5p
https://h5p.org/sites/default/files/h5p/exports/single-choice-set-1515.h5p
https://h5p.org/sites/default/files/h5p/exports/skills-practice-a-home-v...
https://h5p.org/sites/default/files/h5p/exports/speak-the-words-73595.h5p
https://h5p.org/sites/default/files/h5p/exports/speak-the-words-set-exam...
https://h5p.org/sites/default/files/h5p/exports/summary-714.h5p
https://h5p.org/sites/default/files/h5p/exports/timeline-3-716.h5p
https://h5p.org/sites/default/files/h5p/exports/true-false-question-3480...

BV52's picture

Hi twilliams,

Thank you for the list. I agree that there should be an easier way to do this. 

-BV52

Hi twilliams,

Could you add some of the newer activity types to your list?

That application is amazing!

The only thing we need now, is one that somehow collates it all into one file, ready for upload to Moodle.

rahul331's picture

Hi BV52, 

I am using the H5p with my totara solution which is almost similar like mooodle, but I have no idea about h5p libraries and what it is use for, because I have download the plugin of H5P in my totara site but i am keen to know what is the role of libaries.

I am looking forward to hearing from you.

Regards

Kumar

BV52's picture

Hi Kumar,

If you download the plugin and install it, it only installs the core files of H5P. These are the files that lets the plugin interact with the framework it is installed into. The libraries on the other hand are the files that lets you create and use the contents.

-BV52

Hi,

Where can I get the latest .h5p files to download? I have same limitation where the server does not have internet access, I need them for moodle latest version H5P plugin version 1.17.2

Regards,

Regards,

BV52's picture

Hi AdolfoMora,

The link provided by twiliams above will download the .h5p's with the latest libraries. This is an incomplete list because there are additional content types that were released since the comment was posted. However you can still get them in the examples and download page.

-BV52

Olá!

Gostaria de saber se é possivel eu exportar cada projeto para ser utilizado offline ou mesmo no captivate

 

BV52's picture

Hi Jony,

You cannot use captivate with H5P. Although you can use the contents offline by downloading and instaling one of the 3 supported self-hosted frameworks. You would also need to install a local server such as XAMPP, WAMP, LAMP, MAMP etc. Then you have to download and install the H5P plugin and the libraries for the contents.

-BV52

pafravi's picture

Hello

Yes you can manipulate or build offline with lumi:

https://next.lumi.education/

 

jliaw's picture

Looks like a nice tool for offline access to H5P....does it automatically update libraries as they are released?

I noticed there is a reporting tool built into Lumi--does it do something different from what is already available (e.g. grader report in Moodle, etc.).

 

Thanks!

pafravi's picture

Just like the Plugin in Moodle. When the update is available we see the note and we update manually.

 

jliaw's picture

Looks like a nice tool for offline access to H5P....does it automatically update libraries as they are released?

I noticed there is a reporting tool built into Lumi--does it do something different from what is already available (e.g. grader report in Moodle, etc.).

 

Thanks!

pafravi's picture

Lumi exports to SCORM but export to HTMl file too. In this last case we have the option of generating just one html file or a html file plus a folder with the content. In this html file we have the option to include a way of saving in a file the results of the activity. If studente send Several files of this type, and we put them in the same folder, Lumi show us the results in a table.

I went to h5p Examples and Downloads page, but there are no options to download library

 
BV52's picture

Hi ugintl,

May I know exactly what you would like to achieve? If you'd like to download the sample contents you can use the "reuse" button at the bottom of the contents.

 

-BV52

Dear BV52,

i myself has an offline moodle version and need to download h5p library and add it manuall. the link above is helpful but still lack branching-scenario.h5p. I wonder if you can show me the link to download the branching-scenario.h5p library so that i can manually add it to our site

thanks a lot

BV52's picture

Hi Ndkhue,

You can download my test content here.

-BV52

Thanks a lot, i've downloaded the file successfully

I want to download .h5p file

 
BV52's picture

Hi ugintl,

If you open the links to the sample contents you should see that most will have the "reuse" button. You can also use the links provided by twilliams above.

-BV52

Hi,
I've tryed translate H5P and libraries to cs language. How I get this librry to Moodle? Update libraries doesnt help me.

Tnx

Bohus Havel

BV52's picture

Hi Bohus,

I think this documentation may be able to help.

-BV

jliaw's picture

The newest versions of H5P keep getting better and better--perfect for helping to support students and teachers during COVID-19!

Quick question:  is there any easy way to upgrade and update H5P and its libraries in Moodle?  Right now, it looks like I have to manually click on the update button for each content type (it's actually 2 clicks per content type and a lot of scrolling--very tedious!)...is this the correct method or am I missing something?

Usually, updating a plugin in Moodle is very simple--just clicking the "Update" button and then upgrading the database.  Or is it completely different in the newest version of Moodle 3.9 that already has H5P baked in?  Then is H5P updated when Moodle is updated?\

Thanks for any help and clarification you can offer!

BV52's picture

Hi jliaw,

I'm not really sure if the process will be the same with the new Moodle since it was Moodle's devs that created the integration.

To make the process faster it is best to update the complex content type first like Column since it will also update the libraries of the content types that you can create within it.

-BV

jliaw's picture

Thanks BV for the tip--I'll try that next time to update the Column type first to see if it updates all of the other libraries!

pafravi's picture

New moodle version updates automatically the librarys, if the administrator upload to the content bank a content that need some updates.

A maneira mais prática é voce simular uma atividade H5P. Na aba "Criar conteúdo" vai encontrar as opções para obter cada biblioteca

twilliams's picture

See my original post on page 1

BV52's picture

Hi twilliams,

Thank you for sharing this. Would you have a link were we can download it. I maybe able to help in testing it ;-)

-BV

twilliams's picture

See my original post on page 1

BV52's picture

Hi twilliams,

Thanks! I'll post here if I find any bugs or any suggestions for improvements but so far so good :-)

-BV

twilliams's picture

See my original post on page 1

lucianosj's picture

Hi @twilliams!

            There are the link to download the library of the Interactive Book?

Thnaks in advance

twilliams's picture

I have updated all the links to the modules on my original post on page 1 which includes the Interactive Book - the file is: berries-28-441940.h5p

Hi all,

I make a test H5P library in Drupal. The library is in a folder with a name like H5P.Name. Inside the folder I have structure like:

H5P.Name
|------ library.json
|------ semantics.json
|------ name.js
|------ name.css

I am interested in to try it in Moodle, but I can't found the way to do this. I zip the folder, and try to upload to the content bank as administrator, but Moodle says Invalid Content. Could you give me an advice about it? Thanks in advance...

BV52's picture

Hi Jaime,

You upload libraries in Site Administration -> Plugins -> Activity Modules -> H5P -> H5P libraries.

-BV

 

twilliams's picture

See my original post on page 1

Please don't remove your app! It's helped us so much already!

Hey, please don't remove it!

I use this every month, it's so useful!

As others, please don't but you are the only one to decide.

But please tell me how to get "Display H5P links" and "Download H5P Files" commands.

Best regards

Scheduled task failed: Descargar tipos de contenido disponibles desde h5p.org (core\task\h5p_get_content_types_task),No se puede crear el archivo "1/core_h5p/library_sources/0/H5P.Column"
Can you help me? It gives me an error in a h5p library. I work with moodle 3.10. Uninstall and install again, I can't fix it.
otacke's picture

Hi Claudia!

If I am not mistaken, you're using moodle's integration of H5P that was not created by the H5P core team unlike the H5P plugin for moodle, but that was created by the moodle team. Hopefully, someone in the H5P community can help you still.

If you want support by the developers of that integration, you'll probably want to head over to the moodle forums related to H5P.

Cheers,
Oliver

Thanks Oliver for guiding me!

 

twilliams's picture

See my original post on page 1

Hello,

sorry but how to send a PM ??

Best regards

Thanks for your tool, really nice and easy to download H5P content!
I was also wondering if it's possible to install .h5p files in Moodle with a cli command.
Now you have to upload and install each .h5p file in the backend and that is not very
efficient.

twilliams's picture

See my original post on page 1

Pages