This repository has been archived by the owner on Oct 12, 2024. It is now read-only.
forked from Fusion-games4/shadowgfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
54 lines (49 loc) · 1.7 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
52
53
54
<html>
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-B9R93ESZH8"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-B9R93ESZH8');
</script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Bike Champ | GmingRealm</title>
<link rel="shortcut icon" href="../../images/ico.ico" type="image/x-icon">
<script src="../../storage/js/cloak.js"></script>
<style>
body {
margin: 0;
padding: 0;
background-color: black;
}
</style>
</head>
<body>
<script>
function loadLocalRuffle() {
var script = document.createElement('script');
script.src = '../../storage/ruffle/ruffle.js';
document.body.appendChild(script);
}
var cdnScript = document.createElement('script');
cdnScript.src = 'https://unpkg.com/@ruffle-rs/ruffle';
cdnScript.onerror = loadLocalRuffle;
document.body.appendChild(cdnScript);
</script>
<div id="ruffle" width="100%" height="100%"></div>
<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("bikechamp.swf");
});
</script>
</body>
</html>