ivan wrote: ↑Wed Feb 03, 2021 6:53 am
The love file has to be in the same folder as the player until we figure this out.
Happy Wednesday

I attached a prototype thing I quickly whipped up that allows anyone to drag-and-drop a .love file into your player and it will run. It's incredibly ugly and I hacked together some code to make it work, but it works

There is also a bunch of needless checks, and I disabled caching (bc I didn't have time to test it) and fallback to compatibility version (bc it needs to be slightly smarter than changing URL)
There is also a live version on my website:
https://davidobot.net/lovejs/lovejsplayer/index.html
EDIT: I just want to add that nothing gets uploaded anywhere and it's pretty fast as the browser will be loading from your local FS.
EDIT 2: you can make compat work by probably pre-loading (depending on the user agent) the correct js files.