Basic examples
Hi I'm struggling to understand the basics as the file I created following Hello world tutorial 1-3 does comes up with a bunch of error messages when I try to upload it to my Wordpress site.
I was wondering if it would be possible to make avaliable a few basic example files that can be of use to beginners along with a working greetingcard.h5p. Had a look at trying to deconstruct one of the published h5p content types but that was a bit too steep for me.
I have attached my greetingcard.h5p file, if anyone could tell me why it won't work it would be greaty appreciated!
Hope someone can help. Thanks Jorgen
Ps. the greeting-card-with-task.h5p in the "using other libraries" tutorial will not be accepted to my wordpress site either so I dont have any simple working h5p which is quite frustrating
BV52
Wed, 02/13/2019 - 03:19
Permalink
Hi Jorgen,There is a working
Hi Jorgen,
There is a working greeting card here. I will also look into your file to check what may be causing the issue, I'll comment here with my findings.
-BV52
[email protected]
Thu, 02/14/2019 - 13:35
Permalink
Hi and thank you, that helped
Hi and thank you, that helped a lot!
I found that to get my original file working I had to replace all of the JSON files with the JSON files from your archive. I noticed that there were discrepancies in the content in the JSON files copied from the tutorial and your files, but not exprienced enough to pinpoint why they would all fail.
Could it be a issue with the formatting of the JSON when I copy and paste from the tutorial?
Thanks Jorgen
BV52
Fri, 02/15/2019 - 06:49
Permalink
Hi Jorgen,I haven't found it
Hi Jorgen,
I haven't found it as well. I'm afraid it might be as simple as 1 incorrect letter somewhere but who knows. I'll get back to you once I found out.
-BV52
[email protected]
Fri, 02/15/2019 - 09:42
Permalink
Hi again and thank you for
Hi again and thank you for looking into this!
I started with replacing the h5p.json which cleared out a few of the messages. After that the errors cascaded through each of the json files which I replaced one at a time with to the ones from your archive. Only after they were all replaced the upload went through....
pt sun
Wed, 04/01/2020 - 10:59
Permalink
can not upload a valid h5p file , dont know why
HI , i tried several time , either followed the hello world tutorial or redownload the greeting card from the examples and regeneral them into a new file , but i got the same error when i upload the file ,the message is so confusing, because documents in the H5P.GreetingCard file actually includes are all valid as it says.
i have put the h5p document in the attachment , can someone help please?
BV52
Wed, 04/01/2020 - 19:39
Permalink
Hi pt sun,Did you zipped the
Hi pt sun,
Did you zipped the folder (won't work) or zipped the files (should work)?
-BV
pt sun
Thu, 04/02/2020 - 06:56
Permalink
Hi, BV52, i zipped the files
Hi, BV52,
i zipped the files , but still have the same error,i will show you what are inlcuded in my zip folder before i change it into .h5p
pt sun
Thu, 04/02/2020 - 06:58
Permalink
and this is the folder that
and this is the folder that the error mentioned
Carmine
Fri, 02/16/2024 - 11:48
Permalink
Forward slash / aren't recognized as folder separator
Path to files should be use the backward slash \
I tested, this is the issue, hopefully in the future h5p validator can accept both slashes as folder separator