load variables from external source like a .txt file or mySQL database

Is it possible with H5P to load variables from an external source like a .txt file or mySQL database or javascript?

I'm hoping to create a template with 3, 4, 5 or more dragable elements, and load different variable content on each screen. 

Thanks-

 

Summary: 
load variables from external source
tim's picture

Hi jeffnye,

Yes, you could write a script to edit some of the content in the content.json file. I recommend downloading and unzipping any h5p interaction and examining the file structure. 

This discussion may be helpful:

https://h5p.org/node/30170