Load libaries dynamically
I use the content type H5P.Column several times in my content type H5P.RealityBox for structuring content.
These in turn can contain several different content types.
First of all it is not known from the beginning which content types are used in the columns.
Furthermore, not all available content types, especially those that are not used, should be loaded. This would be the case when using preloadedDependencies.
How can it be done that available libraries can be loaded dynamically, like it is the case in H5P.InteractiveVideo?
And how can they be included in the h5p package, so that the content can be used elsewhere?