Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbourSmith committed May 8, 2024
1 parent 9423eb5 commit 12246b4
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
<!doctype html>
<html>
<head>
<title>This is the title of the webpage!</title>
</head>
<body>
<p>This is an example paragraph. Anything in the <strong>body</strong> tag will appear on the page, just like this <strong>p</strong> tag and its contents.</p>
</body>
<head>
<title>This is the title of the webpage!</title>
</head>
<body>
<p>This is an example paragraph. Anything in the <strong>body</strong> tag will appear on the page, just like this <strong>p</strong> tag and its contents.</p>
<div id="container"></div> <!-- Add this line -->
</body>
</html>
<script>
window.RufflePlayer = window.RufflePlayer || {};
window.RufflePlayer = window.RufflePlayer || {};

window.addEventListener("DOMContentLoaded", () => {
let ruffle = window.RufflePlayer.newest();
let player = ruffle.createPlayer();
let container = document.getElementById("container");
container.appendChild(player);
player.load("partkam.swf");
});
window.addEventListener("DOMContentLoaded", () => {
let ruffle = window.RufflePlayer.newest();
let player = ruffle.createPlayer();
let container = document.getElementById("container");
container.appendChild(player);
player.load("partkam.swf");
});
</script>
<script src="ruffle.js"></script>

0 comments on commit 12246b4

Please sign in to comment.