Why develop for H5P?
H5P lets developers do a lot more in a lot less time, and the result works on several publishing tools. H5P is a unique framework for creating content types. We don't do content management, user management or any of the stuff a CMS has to worry about. H5P is all about the content.
These are the main advantages H5P provides for developers of editable interactive content and applications:
- Creating the editor is extremely efficient. Summary authoring tool was created in 5 minutes.
- Already 90 reusable H5P libraries - need videos or questions in your new content type? We already have that and 90 other reusable libraries
- Powerful APIs for interactive content
- Automatically becomes importable and exportable
- Platform agnostic - Not looking forward to porting your module to Drupal 8? Use H5P and you won't have to.
- Copyright handling
You don't have to write your own SQLs for CRUD, validation routines, define form fields, widgets and js for a smooth user experience. Just describe the datastructure for your content and you're done.
Already 90 reusable H5P libraries
H5P is designed around reusable building blocks called H5P libraries. For instance there are H5P libraries for adding video, images and sound to your content and for creating UI elements. All existing H5P content types have also been designed to be reusable so if you need question types in your content type it will only take a few minutes to plug in one of the 10 existing question types, they all follow the same question type contract.
Powerful APIs for interactive content
We have APIs for many of the things you'd like your interactive content to do like reporting and storing results and user actions via xAPI and store the content's state so that users can leave and later proceed where they left off.
Automatically becomes importable and exportable
Import and export of content is built in to H5P. Developers don't have to think about it at all, it just works. The representation of the content on a new platform will be exactly the same since all H5P libraries are part of the exported .h5p packages.
Being able to import and export content is useful for many reasons. Changing or upgrading platforms, moving between staging and production or sharing your content with partners on other platforms becomes a breeze. And when the H5P sharing centre comes online a global arena connecting all H5P enabled websites will be in place where users may choose to share their content with the entire world. H5P breaks down all barriers that makes sharing of interactive content difficult.
When you develop H5P content types you make your content type available for all platforms that supports H5P and you don't have to worry about keeping your content type up to date with the latest changes of your targeted platform, H5P does that for you.
H5P currently support Drupal 6, Drupal 7 and Wordpress. This summer and autumn we're adding support for Drupal 8, Joomla and Moodle. And off course we always make sure that H5P is up to date with the latest changes in Wordpress so that you don't have to.
H5P is created with sharing and reuse in mind, and because of this the copyright information for all resources used in an H5P is stored and will always follow the resource when they are imported and exported. Developers don't have to think about this feature, it just works and in the future it will be even better letting users see an aggregated overview of the resources used within an H5P. For instance they may list all resources that restrict commercial use of the H5P.
Sat, 02/11/2017 - 18:49
Drupal 8 Support
Can you tell me the status and progress in supporting Drupal 8 ??
Mon, 02/13/2017 - 10:03
I know there has been someone
I know there has been someone in the community working on this, but it seems the progress has stopped. The H5P core team does not have this on it's current plans, so I hope someone in the community will take responsibility for this.
Wed, 02/22/2017 - 09:28
We (Spotlight Verlag in
We (Spotlight Verlag in Germany) have a developer working on this right now; he already has contacted the h5p module maintainers on drupal.org about this, and also has made good progress already. There will be a sandbox project on drupal.org for this as soon as we a have a working prototype module where the code will live during development.
But do to this in a good way for Drupal 8 the h5p API classes should be made PSR-4 autoloader compatible (he's done that already in his dev version), and ideally also be made available as a composer package. We would love to talk to somebody at h5p.org if this this would be possible.
Thu, 02/23/2017 - 08:32
Cool, it would be very
Cool, it would be very interesting to hear his experience in writing the integration with Drupal 8. For instance what challenges he has had and where he found the documentation lacking and what can be improved for later integrations.
H5P core and editor (the common parts of H5P) should already be available as composer packages:
Thu, 02/23/2017 - 08:59
Thanks for the reply and
Thanks for the reply and information. I'll direct Jörg to this thread and maybe you can get in touch about his findings.
Thu, 02/23/2017 - 12:01
H5P Composer Packes
thx for the hint, integration via composer in drupal 8 is working :-)
So I will continue prototyping the Drupal 8 integration based on the H5P composer packages.
Fri, 02/24/2017 - 15:31
Drupal 8 - H5P integration
Great news and we are excited to support the testing and effort.
The Drupal 8 integration with Composer will work for us as well.
Fri, 02/24/2017 - 15:35
Drupal 8 - H5P - xAPI interest
Our team has been working for the last year on utilizing Drupal 8 for learning, Performance Support and xAPI-LRS support and see the value of integrating with H5P.
If anyone is interested in getting together for a WebEx call to bounce around use cases and scenarios, we would be glad to set up a call.
Just email me at [email protected]
Fri, 03/03/2017 - 09:38
Awesome, looking forward to
Awesome, looking forward to seeing H5P on Drupal 8 :)
Thu, 04/13/2017 - 22:42
H5P Composer Packages
I'm working on the drupal h5p migration to drupal 8.
Today I updated drupal 7 h5p module to version 7.x-1.28. I tried to update my drupal 8 h5p sandbox project according to this drupal 7 version.
However the h5p composer files I got with composer update are not the same as the drupal 7 modules/h5peditor/h5peditor/scripts. E.g. the h5p_hub_client.js is missing. Is the drupal 7 h5p module development out of sync with the h5p composer packages? I would like to rely on the composer solution for the drupal 8 h5p module.
Tue, 04/18/2017 - 09:34
Hi,Thank you for reporting.
Thank you for reporting. The PHP libraries are now tagged, so that it should work with composer.
Fri, 04/21/2017 - 23:09
H5P Composer Packes - Not able to communicate with hub.
Now I'm using the latest Composer versions h5p-core 1.14, h5p-editor 1.13.https://api.h5p.org/v1/content-types/?uuid=a48dc45a-f340-46d7-b0c6-eab33...
Everything is fine (Upload H5P Libraries, adding js Files on content add page).
However i'm not able to communicate with the H5P Hub :-(
The reason is a page not found 404 response in the http request from
Do you have any advice or is there any description how to use this API?
I did some debugging in the Drupal H5P 7-1.28 module and there with more ore less the same parameters the api call was fine.
So I do not understand the 404 in the Drupal 8 version.
I even made an exact copy of the Drupal 7 http API query paramters, but even with these parameters the api responds with 404 in Drupal 8 :-(
THX in advance Jörg
Mon, 04/24/2017 - 08:51
How does your code look ?The
How does your code look ?
The api.h5p.org/content-types endpoint expects a POST with "application/x-www-form-urlencoded" data, which must at the very least include your site's "uuid"
Mon, 04/24/2017 - 11:32
It's working now :-)
thx for your hint, with POST it is working fine.
Tue, 04/25/2017 - 09:41
Happy to hear that :)
Happy to hear that :)
Thu, 11/08/2018 - 12:34
Hi,I tried to install H5P on
I tried to install H5P on Drupal 8 using Composer and it did not work.
I used package "h5p/h5p-core" and "h5p/h5p-editor", installation was successfull but the module did not appear on drupal extensions page.
It works with standard installation (like described above).
How did you managed H5P to work using composer for the installation pls ?
Fri, 03/23/2018 - 14:05
Plugin support for Basic LTI
Can you tell me the status and progress in supporting Baic LTI (publishiing platform SAKAI) ??
Fri, 03/23/2018 - 15:31
Hi!Sakai will be one of the
Sakai will be one of the platforms that can benefit from its LTI interface that will be supported by h5p.com very soon. You can subscribe to our newsletter at https://h5p.com/ in order to get updates.
Mon, 06/24/2019 - 18:41
Last update date for documentation
Hi and thanks for providing H5P as open source. I'm about to venture into creating H5P content types and have just started using the Developer Guide. Would it be possible to include the "Last updated" date for pages in the documentation? I thought that there was already H5P support for Moodle, but this sentence from the documentation suggests that it doesn't exist yet: "This summer and autumn we're adding support for Drupal 8, Joomla and Moodle."
Tue, 06/25/2019 - 06:48
Hi,Thank you for pointing
Thank you for pointing this out and the suggestion. I created a request to the core team to add this.
The plugin for Moodle is already available please check this page for details on how to install it.