Install & update content types
It is important that you keep your H5P content types up to date to make sure that you have all the latest features (and bugfixes).
Important notice: On April 12th 2017 the H5P Hub was released, which replaces the old way of installing content types. You must make sure you are using a plugin version including the HUB if you want to install and update content types. For the different plugins, this means:
Drupal: minimum version 1.28
WordPress: minimum version 1.8.0
Moodle: minimum version 1.1 (2017041200)
Below are the instructions on how to update and install new content types with the latest version of the H5P plugin.
Comments
stopbit
Wed, 10/12/2016 - 10:42
Permalink
Sort of makes sense...
Hi Thomas,
That would explain it then, thank you.
I had used the board game activity previously, but it was tricky to create the scenario, and it did need thinking about.
The concept is good, but I see what you mean about it being 'hard' to create good content.
Thanks
thomasmars
Thu, 10/13/2016 - 09:04
Permalink
Exactly,
The content type is always up for grabs at github if you want to continue using it, or a developer decides to improve it. The content type will not disappear
velasmt
Sun, 10/16/2016 - 17:25
Permalink
unable to add plug-in(word press) or module(drupal)
Plugin could not be activated because it triggered a fatal error.
Fatal error: Declaration of H5PWordPress::fetchExternalData() must be compatible with that of H5PFrameworkInterface::fetchExternalData() in/home/content/m/a/r/mariavelasquez/html/mtvelasquez/wp-content/plugins/h5p/public/class-h5p-wordpress.php on line 3
Parse error: syntax error, unexpected T_FUNCTION in /home/content/m/a/r/mariavelasquez/html/velasquez_drupal/sites/all/modules/h5p/h5p.module on line 618
timothylim23
Mon, 10/17/2016 - 09:46
Permalink
unable to add plug-in(word press) or module(drupal)
Hi, which versions of wordpress and drupal are you using?
velasmt
Mon, 10/17/2016 - 16:58
Permalink
unable to add plug-in(word press) or module(drupal)
Thank you for your reply. After reading through other threads yesterday, I updated php to 5.3. That fixed both errors. Regards.
timothylim23
Tue, 10/18/2016 - 08:09
Permalink
Glad to hear that you got it
Glad to hear that you got it fixed :)
tkasenberg
Wed, 11/23/2016 - 16:31
Permalink
Drupal Updates...
I am using Drupal 7. With attempts to upload the current library for h5p, I am generating messages in Drupal about updating - one noting security updates, the other noting that I need higher versions of h5p but only have version 1.6 installed. It also reported that the provided package was not a valid h5p package. I am not a developer - so not sure what to do to update my h5p core build... I tried going into the Modules menu, and adding the most current build, but it wouldn't let me do that either because "h5p was already installed". So can you give me guidance on updating to the newest version of h5p and then installing the newest library? Do I have to uninstall what I currently have? Will I lose my existing h5ps in the process?
icc
Fri, 11/25/2016 - 10:00
Permalink
First, you need to update
First, you need to update your module. You should follow the instructions given in this guide: https://www.drupal.org/docs/7/updating-your-drupal-site/updating-modules
Secondly, you must update the H5P Content Types(or libraries). This is done by downloading the file attached to this page and then uploading it to the H5P Libraries Management page. Next, if you wish to 'upgrade' or 'convert' your old content to the newer version, you use the green arrow button next to the Content Type(or library)
Thirdly, if you wish to 'upgrade' your old content to the newer version, you use the green arrow button next to the Content Type(or library) on the same page. This should start the upgrade process for the specific Content Type.
I hope this helps, let me know if you run into any issues.
dgonzales1986
Fri, 01/27/2017 - 16:44
Permalink
Upgrading Content Type
I have 6 different course presentations, so they didn't update when I updated the plugin in Moodle. I've tried to manually update, but nothing happens. I'm trying to Upgrade Course Presentation (1.12.1) content to 1.14. Any help is appreciated.
Thanks,
Daniel
stopbit
Fri, 01/27/2017 - 17:10
Permalink
Visit the libraries
Hi Daniel,
To fully upgrade your existing presentations it is a two step process.
First update your plugin (which you've already done).
Then update your H5P Libraries.
To update the libaries do the following:
If you visit the part in H5P i.e. 'H5P Libraries' you will be able to update your existing h5p activities.
Navigate here: site administration -> Plugins -> Activity Modules -> H5P -> H5P Libraries
After you've made sure you have added or updated to the latest libraries, you must then scroll down the page and look out for a green button next to each library, you will find these under the column named "actions".Click the button to confirm you wish to update that libaries and convert existing activities to the latest.
Do this one by one for each library that has a green clickable icon. If the icon is greyed out then there is no update to perform.
I hope that help :-D
All the best
dgonzales1986
Fri, 01/27/2017 - 17:12
Permalink
Thank you very much for the
Thank you very much for the help. I've tried to update it by clicking on the green button. The wheel just keeps spinning and nothing happens.
Thanks,
Daniel
stopbit
Fri, 01/27/2017 - 17:17
Permalink
Ok... cache, file permissions?
Hi Daniel,
Seems obvious, you probably already have - Have you tried clearing the site caches? i.e. Purge All Cache for the entire site? Then visit notifications (just in case there something needs to be finished there), and go back and try the library update again.
Which moodle version are you using?
I take it your moodledata directory and your website hosting directory has all the correct permissions for editing files?
I know things suck when they don't go smoothly
icc
Mon, 01/30/2017 - 08:32
Permalink
Do you see any error messages
Do you see any error messages if you open the web browser's error console before pressing upgrade? (Ctrl + Shift + J in Chrome)
tomaj
Mon, 01/30/2017 - 07:43
Permalink
+1
@stopbit Good answer!
saranya
Thu, 02/02/2017 - 12:26
Permalink
New to h5p
Hi,
Can anyone please tell me where I will get 1.12 version of h5p plugin. In Path "admin/content/h5p"(drupal) which file I have to upload and where I will get that file. I have downloaded one file at the end of the page https://h5p.org/update-all-content-types. I got this error "The system was unable to install the Column component from the package, it requires a newer version of the H5P plugin. This site is currently running version 1.7, whereas the required version is 1.12 or higher. You should consider upgrading and then try again." , when I uploaded that file in admin/content/h5p. I don't know what to do.
Thanks,
fnoks
Fri, 02/03/2017 - 07:49
Permalink
Hi,You need to update the H5P
Hi,
You need to update the H5P Drupal module to the latest version (Found here: https://www.drupal.org/project/h5p)
saranya
Fri, 02/03/2017 - 08:18
Permalink
Thank You.. Working Fine....
Thank You.. Working Fine....
fnoks
Mon, 02/06/2017 - 08:44
Permalink
:)
:)
svprabu
Sat, 02/18/2017 - 09:57
Permalink
upload error
The file official-h5p-release-20170210.h5p could not be saved, because it exceeds 2 MB, the maximum allowed size for uploads.
tomaj
Mon, 02/20/2017 - 07:34
Permalink
PHP-settings
Hi,
You should update your PHP settings to allow uploading larger files. See this post for details.
- Tom
lorraine_minister
Wed, 02/22/2017 - 22:36
Permalink
Upgrade in Moodle and existing content
Hello I'm wanting to upgrade to the most current version of H5P in Moodle, mainly for the ability to back up H5P content. Before I do a lot of our activities have already been built using previous H5P versions, how will this affect content already built with the H5P plugin? I don't want to lose any work or functionality. Please let me know. Thanks
tomaj
Thu, 02/23/2017 - 08:45
Permalink
Should be fine
Hi,
You should be good updating to the latest version (both plugin and libraries).
We have tested it thuroughly, and not had any problems. But there are of course never any guaranties with these things. Maybe backup your database first, just to be on the safe side. :)
Good luck!
- Tom
lorraine_minister
Thu, 02/23/2017 - 09:16
Permalink
Thanks Tom
I've already been backing up my data, I'm a paranoid design and developer ;) Thanks for your quick response, fingers crossed it all goes smoothly
tomaj
Fri, 02/24/2017 - 08:33
Permalink
Risk
Actually, there is different risk to the two tasks. You can probably update the Moodle plugin first (which is pretty much risk free). Then do a backup trough the new backup system, before you update the content (which is slightly more risky).
- Tom
Jonathan Jensen
Thu, 05/11/2017 - 12:38
Permalink
cannot upload the h5p library to Moodle
I have read through all the forums.
1. When adding interactive content, the "Editor" dropdown is empty, and the "The H5P library {$a->%library} used in the content is not valid" displays.
2. So I tried updating using the latest official-h5p-release-20170313.h5p:
2.1 I do this in Site Admin-->plugins-->Activity..-->H5P-->H5p libraries.
At this point I receive the error on a white page. "The resource limits for this website have been reached, please return in a few minute"... on page "moodle.whatever..../mod/hvp/library_list.php" I click BACK to get back into Moodle.
3. I read elsewhere on the forums that this may be a permissions error in cPanel, so I changed the permissions to 755 of the \mod\hvp folder....
I have no luck. there's an issue with the libraries.
Running 3.1.
Installed :mod_hvp_moodle33_2017050300 - and no libraries.
can you help??
tomaj
Tue, 05/16/2017 - 09:47
Permalink
Update the plugin
Hi Jonathan,
Have you updated your H5P plugin to the latest version? We fixed a bug relating to using the Postgres database, that might be causing your problem.
- Tom
Chrissuli
Mon, 05/29/2017 - 10:31
Permalink
Hi,I have tried to upload the
Hi,
I have tried to upload the official all int one package to Drupal (7.x), but got the following error message:
"The file official-h5p-release-20170313.h5p could not be saved, because it exceeds 2 MB, the maximum allowed size for uploads. You must upload a h5p file."
I have already updated the file size limit in configuration/file settings to 50 MB and even added the h5p extention to the file types allowed, but to no avail :(
In fact the Druapl system keeps rejecting the upload because it exceeds 2 MB.
This appears on the face of it to be a Drupal problem, but, one which seems inexplicable given that changes of size limits have otherwise worked.
I have no idea what the problem is here or how to fix it. Can you help?
As a temprorary work around, is it possible to down/up -load the content types individually?
Kr,
Chris
tim
Tue, 05/30/2017 - 09:16
Permalink
Hi Chris,I'm sorry to hear
Hi Chris,
I'm sorry to hear that you're having problems with getting all the content types. Perhaps you could install the latest version of H5P, ensure the hub is enabled and download the content types one by one?
Let me know if any of this is unclear.
Thanks,
Tim
tomaj
Thu, 06/01/2017 - 07:18
Permalink
From Chris:Hi again,I just
From Chris:
Hi Chris,
Your php needs a zip module to be able to unpack .h5p files. (They are basically zipped webfiles)
The question has been asked before here. Just upgrade your php, or find a way to install the zip module on your host machine.
- Tom
chari
Fri, 06/16/2017 - 11:00
Permalink
Installing the latest version of H5P and updating content types!
Hi, I'll be updating my wordpress version and h5p plugin and libraries for the first time since the h5p 1.5.7 version. So the sequence of updates would be I presume:
1. Update wordpress version
2. Update h5p plugin
3. Update/Add h5p libraries
What are the risks and what happens to the already published h5p content? Since I have a high volume of over 1000 pieces already published and being used, can they remain as they are to the user and I carry on creating new content with the update? (or do i have to republish the old content again for the user to see it?)
Thanks
tomaj
Mon, 06/19/2017 - 07:21
Permalink
Regarding upgrades
Hi Chari,
There shouldn't be much risk, but there are never guaranties, so I recommend you do a backup before you start.
There is also a step 4 for for "content upgrades".
When you upgrade a Content Type (library), the old version of the library is kept, and used with existing content. In the library list, there are options to upgrade content for older library versions, to the newest one. It's only when you run this, that the content itself will be run trough a update script, and start using the latest version of their library.
- Tom
Mannick
Tue, 06/20/2017 - 15:23
Permalink
get all libraries?
Hi,
I recently got extended access to all contents, and I find them all great! But when it comes to creating or uploading them in Moodle, it does not work.
When I go through the Hub, I can see that for some content, the "Get" option is grayed out. If i persist on clicking it, I get a message: "Content type not installed. You do not have permission to install content types".
And if I try to upload something I made directly on the site, I get: "Could not validate H5P file. Make sure the uploaded H5P contains valid H5P content. "
Is it a Moodle problem, meaning the admin has not updated the plug-in correctly, or that he should have installed the new content himself? Or is it linked to H5P directly?
Thanks, great great tool otherwise!
BV52
Wed, 06/21/2017 - 06:45
Permalink
Hi Mannick,I'm glad that you
Hi Mannick,
I'm glad that you are enjoying using H5P.
You need to contact your administrator and ask him to download all the contents so that you can use it. I suggest that he starts with Course Presentation, Quiz Set and Column this helps in downloading the other contents much faster.
-BV52
Mannick
Tue, 06/27/2017 - 11:17
Permalink
ok, but...
Hi,
thanks for your answer. I have the same issue as the user below: our Moodle is running on an intranet network, so I don't have the Hub.
I tried the method you gave him, i.e dowloading a Course example and uploading it to Moodle, but there are a lot of missing libraries:
H5P.AdvancedText 1.1
Bibliothèque requise manquante H5P.Image 1.0
Bibliothèque requise manquante H5P.SingleChoiceSet 1.8
Bibliothèque requise manquante H5P.SoundJS 1.0
Bibliothèque requise manquante H5P.Transition 1.0
Bibliothèque requise manquante H5P.JoubelUI 1.2
Bibliothèque requise manquante Drop 1.0
Bibliothèque requise manquante Tether 1.0
Bibliothèque requise manquante FontAwesome 4.5
Bibliothèque requise manquante H5P.Question 1.2
Bibliothèque requise manquante H5P.Blanks 1.7
Bibliothèque requise manquante H5P.Video 1.3
Bibliothèque requise manquante flowplayer 1.0
Bibliothèque requise manquante H5P.Summary 1.7
Bibliothèque requise manquante H5P.DragText 1.5
Bibliothèque requise manquante jQuery.ui 1.10
Bibliothèque requise manquante H5P.MultiChoice 1.9
Bibliothèque requise manquante EmbeddedJS 1.0
Bibliothèque requise manquante H5P.CoursePresentation 1.16
Bibliothèque requise manquante H5P.FontIcons 1.0
Is is that I need the admin rights to upload it the first time? How can my admin download the contents?
Thanks, and sorry for being slow!
BV52
Wed, 06/28/2017 - 15:18
Permalink
Hi Mannick,You need your
Hi Mannick,
You need your administrator to upload the contents. What you can do to help him is that you yourself can download the contents here from outside your network. Give him the .H5P files then he can upload it in Moodle. Once done you should be able to use them using your own login. Download the contents that I mentioned above since these have multiple depencies and will automatically bring with it the other contents.
-BV52
bolemanyi.attila
Wed, 06/21/2017 - 11:05
Permalink
Behind a firewall
Hi,
Unfortunately I have to work in a closed corporate network, so I can not use the HUB. Is it possible to update libraries without HUB connection? I can not find the all-in-one library package anywhere.
Thx,
Attila
tomaj
Thu, 06/22/2017 - 08:25
Permalink
Hi,I think the "big package"
Hi,
I think the "big package" was removed. But if you download some of the example content from h5p.org, it will grab the latest versions of the libraries, and bring them along to your system.
Course Presentation has dependencies on pretty much everything, so it's a good content type to download an bring over.
- Tom
bolemanyi.attila
Thu, 06/22/2017 - 09:38
Permalink
Hi, Tom!Our closed corporate
Hi, Tom!
Our closed corporate network means Moodle has no internet connection at all. So it can not grab anything from the Internet :-(
Attila
tomaj
Fri, 06/23/2017 - 07:37
Permalink
Human downloading, and uploading
I was thinking of a human downlaoding Course Presentation, and using the normal "upload content" to upload the example content. That way it brings with itself the newest version.
- Tom
bolemanyi.attila
Fri, 06/23/2017 - 09:52
Permalink
Awesome, it works! Thank you
Awesome, it works! Thank you very much, Tom!
What you do with this project is so cool :-)
benroot
Thu, 07/13/2017 - 02:30
Permalink
Does existing content use updated versions of libraries?
I plan to make a series of tutorial videos about Sailing using the Interactive Video (IV) and Multiple Choice (MC) libraries. In the future I'd like to keep these videos updated as improvements are made to the libraries involved. For example, if there are improvements to the accessibility of the IV and MC libraries.
When I install a newer version of the Multiple Choice library, will all my old videos start using the newer version and have the better accessibility features? If not, what is the update path to bring these updates to older content?
Thanks for your help!
tomaj
Thu, 07/13/2017 - 07:45
Permalink
Yes, you can upgrade
Hi Benroot,
If your content is on h5p.org, it will be automatically upgraded to the newest version.
If you are hosting the content yourself, there is a libraries page, where all your content types, with versions are listed. From that page, you are able to upgrade indivitual content types to their newest version.
- Tom
dave1966uk
Fri, 08/04/2017 - 11:21
Permalink
Anywhere to download latest libraries - Hub not working
Hi
I have a ticket HFP-1139 as I am unable to get the hub working and in the past downloaded the libraires and installed them byu hand but that doesn't seem possible now. How can I keep the libraries up-to-date until my issue/ticket is reached?
Best wishes
David
thomasmars
Mon, 08/07/2017 - 11:34
Permalink
Hi, there's not enough info
Hi, there's not enough info included in the ticket to resolve it. It seems like you're having some communication problems with the h5p API.
Can you check your php error log and print the stack trace of the error when you receive it ?
In the meanwhile you can upload single library examples from h5p.org examples & download through the H5P authoring tool. This will upgrade all libraries used within that content type to the latest version.
SteelWagstaff
Fri, 09/08/2017 - 16:29
Permalink
Update all types/libraries?
Hi all--
I'm wondering whether there's a quick/simple way with the new Hub interface to update all content types and libraries at once (rather than clicking the 'update available' button for each individual activity type)? This would be a big time saver for us!
BV52
Mon, 09/11/2017 - 06:52
Permalink
Hi SteelWagstaff,The fastest
Hi SteelWagstaff,
The fastest way I found is to download these example contents of Column, Course Presentation and Question set. I have been using them to update my local content types. This was all depencies will be carried over to your local plugin and will only need to update the ones that are not included in them.
-BV52
sascha
Mon, 09/11/2017 - 11:29
Permalink
Delete content types
Is it possible to delete content types? I cannot see this option in the content hub. Is there any other safe option to uninstall?
The reason is: we want to use just a subset of content types in our moodle installation. In earlier versions we just installed the full package and restricted access to some of the content types. Therefore the restricted types are not in use. However, in the content hub the restricted content types are shown in "My Content Types" even if our users don't have access. It would be nice to show only the subset that is not restricted. I guess the easiest way would be to uninstall the restricted content types completely.
BV52
Wed, 09/13/2017 - 05:59
Permalink
Hi sascha,Thank you for the
Hi sascha,
Thank you for the information. The first H5P conference is happening this week. The H5P core team will be busy facilitating the activities. They will try to answer your question asap or if someone in the community have some inputs feel free to post it here.
-BV52
tim
Thu, 09/14/2017 - 10:15
Permalink
I'm afraid that even
I'm afraid that even uninstalling the content types won't stop them from being shown on the hub. You could try though, it should be easy to download them again afterwards.
david-bisk
Fri, 10/13/2017 - 14:12
Permalink
Uploading content to WordPress
Hello all. I designed a quiz on the HP5.org website, and now I'm trying to figure out how to export it so I can upload it to WordPress. I've been looking everywhere and can't find it. Help!
Pages