-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
25 lines (25 loc) · 884 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
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Home | Schoology</title>
<link rel="icon" href="https://asset-cdn.schoology.com/sites/all/themes/schoology_theme/favicon.ico">
</head>
<body>
<script src="/js/main.js"></script>
<div id="ruffle" width="100%" height="100%"></div>
<script src="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("IQmkWMUDh5bn.swf");
});
</script>
</body>
</html>