Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!DOCTYPE html>
body {background-color: #EEE;}
.emubox {
margin: auto;
width: 50%;
border: 3px solid green;
padding: 10px;
<div class="container">
<div class="emubox">
<div id="emulator">
<p>To play this game, please, download the latest Flash player!</p>
<a href="">
<img src="//" alt="Get Adobe Flash player"/>
<script src="//"></script>
<script src="//"></script>
<script type="text/javascript">
var resizeOwnEmulator = function(width, height)
var emulator = $('#emulator');
emulator.css('width', width);
emulator.css('height', height);
function embed()
var emulator = $('#emulator');
var flashvars =
system : 'gba',
url : '/.roms/gba/Golden Sun.gba'
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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.