-
Notifications
You must be signed in to change notification settings - Fork 40
/
index.html
51 lines (51 loc) · 1.68 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Bloxors</title>
<link rel="shortcut icon" type="image/ico" href="favicon.ico">
<script>
window.RufflePlayer = window.RufflePlayer || {};
window.RufflePlayer.config = {
"publicPath": undefined,
"polyfills": true,
"autoplay": "auto",
"unmuteOverlay": "visible",
"backgroundColor": "black",
"letterbox": "fullscreen",
"warnOnUnsupportedContent": true,
"contextMenu": true,
"showSwfDownload": false,
"upgradeToHttps": window.location.protocol === "https:",
"maxExecutionDuration": {"secs": 15, "nanos": 0},
"logLevel": "error",
"base": null,
"menu": true,
"salign": "",
"scale": "showAll",
"quality": "high",
};
</script>
</head>
<body style="background-color:black;">
<center>
<img src="title.png" style="padding:5px;width:300px;">
<div id="container" style="border: #ccc 3px solid;height:600px;width:937px;"></div>
<script>
window.RufflePlayer = window.RufflePlayer || {};
window.addEventListener("load", (event) => {
const ruffle = window.RufflePlayer.newest();
const player = ruffle.createPlayer();
const container = document.getElementById("container");
container.appendChild(player);
player.style.height = "600px";
player.style.width = "937px";
player.load("bloxors.swf");
});
</script>
<script src="ruffle/ruffle.js"></script>
<script src="/js/main.js"></script>
</center>
</body>
</html>