How to manually upload content type librairies on Moodle?
Hi,
I have installed hvp 1.4 plugin on my MOODLE 3.0.6.
My Moodle app cannont access h5p hub because of network configuration.
Thus, I tick off the checkbox 'Use H5P Hub'n in MOODLE hvp setting page (https://moodle-dev.local/admin/settings.php?section=modsettinghvp).
I want to manually upload h5p libraries.
So, I go in the hvp librairies page (https://moodle-dev.local/mod/hvp/library_list.php).
I tried to upload the hvp library 'h5p-dialogcards' downloaded from github (https://github.com/h5p/h5p-dialogcards/archive/1.5.2.zip).
But encoutered this issue:
File ".gitignore" not allowed. Only files with the following extensions are allowed: json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 wav txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile js css.
File "config" not allowed. Only files with the following extensions are allowed: json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 wav txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile js css.
Does anyone can explain how to manually upload hvp content type librairies on MOODLE?
greetings,
ben
BV52
Thu, 06/29/2017 - 01:37
Permalink
Hi,There is a discussion here
Hi,
There is a discussion here regarding your question. As a summary you can download the example contents and upload it into your H5P libraries. So that you don't have to download all the examples, I suggest that you download Course Presentation first because it has a lot of dependencies which will automatically bring with it other content types.
-BV52
shija
Thu, 06/29/2017 - 12:58
Permalink
No luck
Hi, those are May updates right? couldn't find anything specific to this issue there.. Or have I missed somethig?
Update: Found the discussion below. Going through them now..
Tried to upload example file of 'course presentation' as you suggested. No luck here. The same error. Checked by disabling the file extension check as well.. No luck here either. :(
shija
Thu, 06/29/2017 - 12:47
Permalink
I am facing the same issue
Hi
I am facing the same issue. Have nstalled H5P 1.4 on Moodle 3.0. The H5P hub seems to throw a file validation error, 'Validating H5P package failed.' Similar error on trying to upload h5p file manually i.e. : ‘Could not validate H5P file’.
When trying to upload files from H5P Libraries, getting the same error ('Only files with certail extensions are allowed.....') as informed by Ben.
BV52
Fri, 06/30/2017 - 16:14
Permalink
Hi shija,Can you try Ben's
Hi shija,
Can you try Ben's suggestion. If you are still experiencing an issue don't hesitate to post here.
-BV52
benit
Fri, 06/30/2017 - 15:01
Permalink
finally working
This is finally working whitout the h5p hub, using manual upload of the h5p librairies.
Here are the steps I follow:
That's it! The course presentation plugin install many plugin dependencies. H5P plugins are now available in a dropdown when creating an h5p activity in MOODLE.
I was trying to upload the source code that I found on github whereas it was the h5p file that was expected!
Greetings,
ben
BV52
Fri, 06/30/2017 - 16:13
Permalink
Hi Ben,I'm glad you were able
Hi Ben,
I'm glad you were able to figure this out and thank you very much for a very detailed explanation this will help the community a lot.
-BV52
benit
Tue, 07/04/2017 - 09:57
Permalink
You're welcome.
You're welcome.
Maybe this could be useful to add detailed instructions for manually consuming H5P in MOODLE whithout the hub ?
Maybe here.
This would help new users (like me).
Greetings,
ben
icc
Tue, 07/11/2017 - 10:56
Permalink
Thanks for sharing. We hope
Thanks for sharing.
We hope to improve this in the future!