add impossible quiz 4 testing

This commit is contained in:
2026-04-30 16:37:35 +00:00
parent f120c9f9d2
commit 5485d4c273
2 changed files with 34 additions and 0 deletions

BIN
impossiblequiz.swf Normal file

Binary file not shown.

34
index.html Normal file
View File

@@ -0,0 +1,34 @@
<!DOCTYPE html >
<script src="https://agi.armorgames.com/ruffle/ruffle.js"></script>
<html lang="en" xml:lang="en">
<head>
<title>SWF Runner</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" type="image/x-icon" href="images/bitbot.png" />
<style type="text/css" media="screen">
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<!-- 1. Load the Ruffle library -->
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
<!-- 2. The container where your Flash will live -->
<div id="flash-container"></div>
<!-- 3. The script to "embed" your file -->
<script>
window.RufflePlayer = window.RufflePlayer || {};
window.addEventListener("load", (event) => {
const ruffle = window.RufflePlayer.newest();
const player = ruffle.createPlayer();
const container = document.getElementById("flash-container");
container.appendChild(player);
player.load("impossiblequiz.swf"); // Replace with your filename
});
</script>
</body>
</html>