Download Content from Moodle doesn't allow .h5p
Submitted by wheelie1978 on Tue, 09/19/2017 - 13:20
Forums:
Hi again,
If I download my content created in Moodle it downloads as a .zip file which I then can't upload in another course. Is this a Moodle glitch or am I missing something really simple?
Colin
BV52
Tue, 09/19/2017 - 17:43
Permalink
Hi Colin,How are you
Hi Colin,
How are you downloading the content? When was the last time you were able to download the content as H5P as oppose to ZIP? Where there any recent changes prior to this happening?
-BV52
wheelie1978
Tue, 09/19/2017 - 18:27
Permalink
Download
Hi, I am downloading the content via the download link under the activity directly in Moodle. The hover text says download as a .hp5 file but then it downloads a .zip full of folders and a hp5.json file.
This is the first time I have directly created content in Moodle and then tried this.
Cheers
Colin
tomaj
Wed, 09/20/2017 - 09:12
Permalink
.h5p = .zip
Hi Colin,
A .h5p file is actually just a renamed .zip file. So it is correct. A .h5p file should be self containd, and keep all the files and data needed to recreate content.
- Tom
wheelie1978
Wed, 09/20/2017 - 09:20
Permalink
But
If I try and upload the .zip into Moodle via the content creator it says it's not a valid .h5p file. Do I need to do something else?
Colin
wheelie1978
Wed, 09/20/2017 - 09:52
Permalink
Example
If I download content from h5p.org the file extension of the download is .h5p if I do this from Moodle the file extension is .zip. If I try and upload content into Moodle in the screen (see attached) as a .zip it tells me that it is not a valid .hp5 file. If I change the file extension of the .zip to .h5p I get the screenshot shown. What am I doing wrong?
tomaj
Thu, 09/21/2017 - 09:16
Permalink
Can you send us the .h5p file?
Hi Colin,
It's difficult to say what the problem is.
Can you send the .h5p file to [email protected], and I can take a look at it, and come with some specific feedback.
Also link to this forum thread in the email.
- Tom
Ericaberghout
Wed, 01/09/2019 - 16:15
Permalink
Is there a solution to this problem
Hello,
I have the same problem as discribed by Colin.
Is there already a solution to this problem?
Kind regards,
Erica
BV52
Thu, 01/10/2019 - 03:58
Permalink
Hi Erica,I'm not really sure
Hi Erica,
I'm not really sure since the e-mail is hard to track but if the file is less that 16MB you should be able to attach it here so that we can check.
-BV52
Ericaberghout
Fri, 01/11/2019 - 08:43
Permalink
File
Hi
I cant upload the file, ZIP is not allowed... When i press download, i get a ZIP file. With lots of other files in it.
i tried to upload that file as a new H5P-activity but its not recongnized as a usable file.
It exactly as descirbed in this post...
BV52
Mon, 01/14/2019 - 04:50
Permalink
Hi Erica,Can you please check
Hi Erica,
Can you please check if changing the file extension from ZIP to H5P will do the trick. If not you should be able to upload the file here.
-BV52
Ericaberghout
Wed, 01/16/2019 - 09:41
Permalink
Hi BV52
I tried to change the extentsion (good to know that my line of thinking was correct). I can sellect the file in moodle, but when i save, i get an error 'you have to select a content type'. So it does not save.
I have attached the h5p file i have made by changing the extention. The zip as created by using the download button cant be uploaded on this site.
ERica
Erica
BV52
Thu, 01/17/2019 - 06:08
Permalink
Hi Erica,For some reason I
Hi Erica,
For some reason I was able to upload the file without any issues. If you are still unable to upload it I suggest that you check for any PHP errors.
-BV52
Ericaberghout
Thu, 01/17/2019 - 07:43
Permalink
thanks!
Hi
Well, strange!! thanks for your help.
I will look further in to this!
Kind regards
Erica
jim.daly
Thu, 10/17/2019 - 12:22
Permalink
This still happens on Moodle but there is a workaround
For what it's worth, a workaround to the above problem, which is happening on our Moodle (v 3.5.8).
Download your asset from Moodle. It downloads as a .zip. This will not upload to another Moodle course even if you rename the extension to H5P. However....
Rename the extension to .H5P. Upload it your H5P account. Upload accepted. Now download it from your H5P account. It downloads as an .H5P file. Upload this to your Moodle course.
Voila!