-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.html
37 lines (37 loc) · 994 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Papas Cheeseria</title>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
#ruffle {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<script src="/js/main.js"></script>
<div id="ruffle"></div>
<script src="/RUFFLE/ruffle.js"></script>
<script>
window.RufflePlayer = window.RufflePlayer || {};
window.addEventListener("load", (event) => {
const ruffle = window.RufflePlayer.newest();
const player = ruffle.createPlayer();
const container = document.getElementById("ruffle");
player.id = "player";
player.style.width = "100%";
player.style.height = "100%";
container.appendChild(player);
player.load("58GqwwuGG1j0oB.swf");
});
</script>
</body>
</html>