So many broken content types - is source code install an option?
Submitted by dezglidden on Thu, 07/30/2020 - 17:33
Forums:
Hi,
I'm looking at a recently upgraded Moodle where most of if not all the content types are failing. I'm systemmatically taking example content and creating activities in a bid to make sure content types are both installed and up-to-date with the recent versions.
The Advanced Text 1.1 content type is a recurring issue. I see the repo on Github but not a specific content type on the example demos. How do I take the source code of any content type and install? Is this even possible?
Thanks
Dez
Content types:
otacke
Thu, 07/30/2020 - 20:40
Permalink
Hi dez!Of course, it is
Hi dez!
Of course, it is possible to install content types from the github repository, but some have a build chain that requires the distribution to be built first (see hints in the readme of Interactive Video for example), you will need to take care of dependencies, and you will have to build h5p packages (ideally) using the H5P cli tool unless you want to shuffle everything together into a zip file manually.
Best,
Oliver
dezglidden
Mon, 08/17/2020 - 14:08
Permalink
CLI Tool
Thanks Oliver,
I used the cli and I have to say, it's awesome! It turns out the issue I was investigating was due to a bug in h5p itself, specifically the upgrade steps.
Best Dez
otacke
Mon, 08/17/2020 - 18:48
Permalink
Hi Dez!Glad it's working!
Hi Dez!
Glad it's working! What's the bug? It should be fixed, so it was great if you could point towards it.
Cheers,
Oliver
dezglidden
Tue, 08/18/2020 - 22:17
Permalink
Actually, it's not a bug with core
Ah so, having been on leave I left the fix to another dev after identifying the issue but having looked at it again, it's not a core bug. Basically, the codebase we inherited somehow had missed the upgrade step "hvp_upgrade_2018090300" which meant the new database fields that were introduced were missing, screwing things up. it looks like a git merge gone wrong in the past. Fun times.
michumichus
Tue, 08/18/2020 - 17:54
Permalink
No hay la opcion de videos interactivos
buen dia, disculpen queria subir un video interactivo pero me sale la opcion de que ya no hay
BV52
Tue, 08/18/2020 - 20:18
Permalink
Hi michumichus,To provide a
Hi michumichus,
To provide a best possible experience for new users and to ensure that people use H5P.org only for trying out H5P (we've had more traffic than our server can handle lately, ref also the warnings when you create content, embed content and view the content) we are experimenting with which content types should be available here.
Check the getting started page for information on how you can use all the content types and use H5P for real. We unfortunately are not able to provide free hosting, only free software :) Hopefully you'll consider supporting the H5P Core Team by using H5P.com.
-BV