I’m trying to insert the code of this program; https://github.com/ethanaobrien/emulatorjs.
I put the Divs on Elementor and today I installed the Insert Headers and Footers plugin.
After that I put the Nintendo Gameboy Advance script in the Footer. I only see the game container, but it doesn’t launch.
<script type="text/javascript">
EJS_player = '#game';
EJS_biosUrl = 'public_html/Bios/Nintendo/GameboyAdvance/gba_bios907607290.bin';
EJS_gameUrl = 'public_html/Games/Nintendo/GameboyAdvance/dragonball-z-buu-s-fury-usa.zip'; // Url to Game rom
EJS_core = 'gba';
EJS_pathtodata = 'public_html/emulatorjs-main/data/'; //path to all of the wasm and js files. MUST all be in the same directory!!
</script>
<script src="data/loader.js"></script>
Elementor’s problems were 2;
– The text editor block disappeared, but the text was there. I couldn’t make changes.
– The HTML block only saved the DIV, while the script was cleared.
I don’t know what I’m doing wrong and what I should do.