Js code not working on WordPress.
-
I have inserted this code into the HTML;
<div style="width:640px;height:480px;max-width:100%"> <div id="game"></div> </div> <script type="text/javascript"> EJS_player = '#game'; EJS_biosUrl = ''; // Url to Famicom Disk System bios EJS_gameUrl = 'https://www.emulatorjs.com/roms/mega_mountain.nes'; // Url to Game rom EJS_gameID = 1; // ID in your website, required for netplay. EJS_core = 'nes'; EJS_lightgun = false; // Lightgun </script> <script src="https://www.emulatorjs.com/loader.js"></script>
On Tryit the code works, on my site it doesn’t. I tried with Elementor and then with Gutenberg. No way. Where is the problem?
The page I need help with: [log in to see the link]
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Js code not working on WordPress.’ is closed to new replies.