We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc58a85 commit e8c034eCopy full SHA for e8c034e
projects/scratch2/data/Scratch.swf
2.31 MB
projects/scratch2/index.html
@@ -0,0 +1,21 @@
1
+<html>
2
+ <head>
3
+ <title>Scratch</title>
4
+ </head>
5
+ <body>
6
+ <script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
7
8
+
9
+ <div id="flash-container"></div>
10
11
+ <script>
12
+ window.addEventListener("load", () => {
13
+ const ruffle = window.RufflePlayer.newest();
14
+ const player = ruffle.createPlayer();
15
+ document.getElementById("flash-container").appendChild(player);
16
+ player.load("data/Scratch.swf");
17
+ });
18
+ </script>
19
20
+ </body>
21
+</html>
0 commit comments