-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMortal.html
More file actions
40 lines (36 loc) · 1.05 KB
/
Copy pathMortal.html
File metadata and controls
40 lines (36 loc) · 1.05 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>moral kombat</title>
<style>
#flash-game {
border: 0px solid #fff;
}
</style>
</head>
<body style="background-color: darkgray;">
<h1>RIGHT CLICK FRAME TO GO FULL SCREEN!!!</h1>
<div id="flash-game"></div>
<!-- Load Ruffle script -->
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
<script>
// Create Ruffle player
const ruffle = window.RufflePlayer.newest();
const player = ruffle.createPlayer();
// Append to container
const container = document.getElementById("flash-game");
container.appendChild(player);
// Load SWF file
player.load("MortalKombat.swf");
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HRQHXSV78G"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-HRQHXSV78G');
</script>
</body>
</html>