jacobinathanialpeterson
commited on
Commit
•
1ed580c
1
Parent(s):
cd41e4e
Create bloonstowerdefense5/index.html
Browse files
bloonstowerdefense5/index.html
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
c<!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" width="1000px"></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/jacojanze/flash@master/btd5.swf");
|
18 |
+
});
|
19 |
+
</script><script></script>
|
20 |
+
</body>
|
21 |
+
</html>
|