Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasrhee1208wastaken authored Jan 17, 2024
1 parent 0081e3b commit af82764
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,14 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Portable Ruffle">
<meta name="title" content="Ruffle Example">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">
<title id="dynamic-title">Portable Ruffle</title>
<title>Ruffle Example</title>
<script src="main.js"></script>
</head>
<body>
<div id='ruffle' class="gameloc"></div>
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
<script id="gabe">
var jsonConfig = {
<!-- Config Zone -->
"swfUrl": "https://jonasrhee1208wastaken.github.io/cacheoswf/jacksmith.swf",
"title": "Portable Rufffle"
};

document.getElementById("dynamic-title").innerText = jsonConfig.title;
swfobject.embedSWF(jsonConfig.swfUrl, 'ruffle', 800, 600);
</script>
<script id = "gabe">swfobject.embedSWF("https://jonasrhee1208wastaken.github.io/cacheoswf/jacksmith.swf", 'ruffle', 800, 600);</script>
</body>
</html>

0 comments on commit af82764

Please sign in to comment.