I wanted to use the game emulator via a nesbox browser in a blog using an external address.
According to the HTML code provided by the developer, the code takes only a portion of the address. Here is the sample code from the developer code to attach the emulator to an html page:
var resizeOwnEmulator = function(width, height)
{
var emulator = $('#emulator');
emulator.css('width', width);
emulator.css('height', height);
}
$(function()
{
function embed()
{
var emulator = $('#emulator');
if(emulator)
{
var flashvars =
{
system : 'sega',
url : '/roms/Flappy Bird (PD) v1.0.gen'
};
var params = {};
var attributes = {};
params.allowscriptaccess = 'sameDomain';
params.allowFullScreen = 'true';
params.allowFullScreenInteractive = 'true';
swfobject.embedSWF('flash/Nesbox.swf', 'emulator', '640', '480', '11.2.0', 'flash/expressInstall.swf', flashvars, params, attributes);
}
}
embed();
});
This code is to make available on an internal address, but by using an external server I have put the full address (example: ' link ') and the emulator even shows on the page, but the ROMs do not load correctly, I think because the other files (snes.swf, for example) that emulate the emulator platform are not recognized in the folder I created on the external server.
Does anyone know of this emulator have any idea what it is possible to do to run the emulator from an external address?