Load more than one .js file
Submitted by StevenDavies on Thu, 12/10/2020 - 17:30
Forums:
Hello, cna I preload more than one .js file, not sure of the syntax if possible... Thanks!!
"preloadedJs": [ { "path": "dist/h5p-course-presentation.js" } ],
BV52
Thu, 12/10/2020 - 17:40
Permalink
Hi Steven,I'm no developer
Hi Steven,
I'm no developer but I think a little bit of context on what you would like to achieve can help the community in figuring out how to answer. There could be more than one way of tackling your concern.
-BV
otacke
Thu, 12/10/2020 - 19:20
Permalink
Hi Steven!Well, it's a json
Hi Steven!
Well, it's a json file, and given the square brackets it seems likely that the preloadedJS property expects an array as value, doesn't it?