-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
13aef90
commit b3a9b2f
Showing
5 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<title>Age of War | BCHS Unblocked Games</title> | ||
<link rel="icon" type="image/x-icon" href="icon.jpg" /> | ||
<link rel="shortcut icon" type="image/x-icon" href="icon.jpg" /> | ||
</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("swf.swf"); | ||
}); | ||
</script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.