This commit is contained in:
mileswa1q22
2024-10-14 17:54:52 +00:00
committed by GitHub
parent 0a62efef01
commit 92815b89b2
3 changed files with 31 additions and 0 deletions
+1
View File
@@ -129,6 +129,7 @@
<a href="/games/webmania-main/webmania-main/public/index.html">test</a> <a href="/games/webmania-main/webmania-main/public/index.html">test</a>
<a href="/games/pangolinknitght/PangolinKnight/index.html">PangolinKnight</a> <a href="/games/pangolinknitght/PangolinKnight/index.html">PangolinKnight</a>
<a href="/games/tiney fishing/index.html">tiney fishing test</a> <a href="/games/tiney fishing/index.html">tiney fishing test</a>
<a href="/wedrowemdlemtest/html.html">testing</a>
</head> </head>
</form> </form>
<div id="disqus_thread"></div> <div id="disqus_thread"></div>
+30
View File
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Example webretro embed</title>
<style>
#webretro-container {
width: 800px;
height: 600px;
}
</style>
</head>
<body>
<h1>Example webretro embed</h1>
<div id="webretro-container"></div>
<br>
<input type="button" id="fullscreen" value="Fullscreen">
<br>
<br>
<a href="roms/LICENSE.txt">License for the example game "2048"</a>
<script type="text/javascript" src="embed.js"></script>
<script>
var frame = webretroEmbed(document.getElementById("webretro-container"), "../", {system: "nes", rom: "./wedrowemdlemtest/SpaceInvaders.nes"});
document.getElementById("fullscreen").onclick = function() {
frame.requestFullscreen();
};
</script>
</body>
</html>