Erster Upload
This commit is contained in:
31
pinkie_timer/index.html
Normal file
31
pinkie_timer/index.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<title>Pinkie Timer</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
</div>
|
||||
|
||||
<script>
|
||||
window.RufflePlayer = window.RufflePlayer || {};
|
||||
window.RufflePlayer.config = {
|
||||
"autoplay": "on",
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"unmuteOverlay": "hidden",
|
||||
"warnOnUnsupportedContent": false,
|
||||
"showSwfDownload": true,
|
||||
"preloader": false,
|
||||
};
|
||||
window.addEventListener("load", (event) => {
|
||||
const ruffle = window.RufflePlayer.newest();
|
||||
const player = ruffle.createPlayer();
|
||||
const container = document.getElementById("container");
|
||||
container.appendChild(player);
|
||||
player.load("pinkie_timer.swf");
|
||||
});
|
||||
</script>
|
||||
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
BIN
pinkie_timer/pinkie_timer.swf
Normal file
BIN
pinkie_timer/pinkie_timer.swf
Normal file
Binary file not shown.
Reference in New Issue
Block a user