Jeremy Penner
8dc252d70f
subrepo: subdir: "jsnes" merged: "d8021d0" upstream: origin: "https://github.com/bfirsh/jsnes.git" branch: "master" commit: "d8021d0" git-subrepo: version: "0.4.9" origin: "???" commit: "???"
19 lines
663 B
HTML
19 lines
663 B
HTML
<!DOCTYPE html>
|
|
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Embedding Example</title>
|
|
|
|
<script type="text/javascript" src="https://unpkg.com/jsnes/dist/jsnes.min.js"></script>
|
|
<script type="text/javascript" src="nes-embed.js"></script>
|
|
<script>window.onload = function(){nes_load_url("nes-canvas", "InterglacticTransmissing.nes");}</script>
|
|
</head>
|
|
<body>
|
|
<div style="margin: auto; width: 75%;">
|
|
<canvas id="nes-canvas" width="256" height="240" style="width: 100%"/>
|
|
</div>
|
|
<p>DPad: Arrow keys<br/>Start: Return, Select: Tab<br/>A Button: A, B Button: S</p>
|
|
</body>
|
|
</html>
|