jacobinathanialpeterson
commited on
Commit
•
f609a27
1
Parent(s):
0b92ca2
Upload index.html
Browse files- impossiblequiz1/index.html +21 -0
impossiblequiz1/index.html
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
|
5 |
+
<meta charset="UTF-8" />
|
6 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
7 |
+
</head>
|
8 |
+
<body>
|
9 |
+
<div id="container"></div>
|
10 |
+
<script>
|
11 |
+
window.RufflePlayer = window.RufflePlayer || {};
|
12 |
+
window.addEventListener("load", (event) => {
|
13 |
+
const ruffle = window.RufflePlayer.newest();
|
14 |
+
const player = ruffle.createPlayer();
|
15 |
+
const container = document.getElementById("container");
|
16 |
+
container.appendChild(player);
|
17 |
+
player.load("https://cdn.jsdelivr.net/gh/CyranicusTheGreat/swf@master/quiz1.swf");
|
18 |
+
});
|
19 |
+
</script>
|
20 |
+
</body>
|
21 |
+
</html>
|