31 lines
1.3 KiB
HTML
31 lines
1.3 KiB
HTML
<!DOCTYPE html >
|
|
<script src="https://agi.armorgames.com/ruffle/ruffle.js"></script>
|
|
|
|
<html lang="en" xml:lang="en">
|
|
<head>
|
|
<title>Games4 - Papa's Pizzeria</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="shortcut icon" type="image/x-icon" href="../images/favicon.png" />
|
|
<link rel="stylesheet" href="../styles.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<a href="../index.html"><img src="../images/logo.png" alt="Games4" class="logo"></a>
|
|
<div class="game-container">
|
|
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
|
|
<div id="flash-container"></div>
|
|
<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("flash-files/papas-pizzeria.swf"); // Replace with your filename
|
|
});
|
|
</script>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|