Use Webworkers with H5P
Hi everyone!
I recently started to get into H5P to realize some tasks concerning music notation. I would like to use an external library which uses lots of convenient, but very compute intensive functions. To be as performant as possible I tried to use Webworkers to outsource most of computing with this library. But as far as I understand webworkers always need some kind of URL in their constructor to work, which means that I need to use at least 2 (bundeled) js-Files for the project to refer from one to another. e.g new Worker("./worker.js")