mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-16 10:32:08 -05:00
Create index.html
This commit is contained in:
parent
01df2d5e86
commit
388340328f
27
papasburgeria/index.html
Normal file
27
papasburgeria/index.html
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<script src="/js/all.js"></script>
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<title>Papas Burgeria</title>
|
||||||
|
<style>html{background-color:#000;}</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="ruffle" width="100%" height="100%"></div>
|
||||||
|
<script src="https://unpkg.com/@ruffle-rs/ruffle"></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("papasburgeria.swf");
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
x
Reference in New Issue
Block a user