Alter content type options that can be added on an Interactive Book page & add a custom content type.

Forums: 

Hello,

I'm a developer working on a custom version of the Interactive Book. I looked at the code in the Interactive Book semantics file and the content type list is using the H5P.Columns 1.13 but the H5P.Columns library semantics file on the Github page lists many more types like: "H5P.Accordion 1.0","H5P.Agamotto 1.5","H5P.Audio 1.4","H5P.AudioRecorder 1.0","H5P.Blanks 1.12","H5P.Chart 1.2","H5P.Collage 0.3","H5P.CoursePresentation 1.22","H5P.Dialogcards 1.8","H5P.DocumentationTool 1.8","H5P.DragQuestion 1.13","H5P.DragText 1.8","H5P.Essay 1.2","H5P.GuessTheAnswer 1.4","H5P.Table 1.1","H5P.AdvancedText 1.1","H5P.IFrameEmbed 1.0","H5P.Image 1.1"... and many others that are not included in the options list that is available in the Interactive Book library. I would love to know how to alter content type options that can be added on an Interactive Book page & add a custom content type too. 

Thanks,

George

Content types: 
otacke's picture

Hi George!

You are correct. The current version of InteractiveBook is using only H5P.Column in version 1.13 as a library option. That means it will not offer the author to choose from multiple content types, but include the editor form of H5P.Column here right away. In turn, H5P.Column offers multiple libraries as an option to choose from in its editor form - but only those that are actually installed in the correct version.

So, you don't have to change any options at all, but to make sure that the libraries are installed.

Best,
Oliver