H5P Interactive Videos for COERLL
I’ve begun work on a new project for COERLL, moving to convert old flash interactive videos into a new H5P version. The code for interactivity is there, but subtitles and links need to be implemented. As for subtitles, the files need to be converted into a different extension, and styling will need to be applied to each line. For links, however, there is no file format that H5P’s Interactive Videos uses, so these must be placed manually. Python scripts will be able to fix the subtitles, and speed up the link creation.
I’ve first begun work on the links, which are contained in an .xml file like so:
And I’m parsing the file and reorganizing the contents into a way that is more easily readable and copiable as I place the links.
I still need to reroute them to an actual file, have it automatically parse all files in a directory, and cover all colors for text. After this I’ll work to fix the subtitles, which should be around the same difficulty. Here’s the code for the links so far, not clean and has some useless code in it: