Mercurial > web
changeset 9:f8f852d8c466
aAAAAAAAAAAA
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 30 May 2021 18:13:47 -0400 |
parents | 84f89ee82594 |
children | 787fa7e08fbd |
files | index.html |
diffstat | 1 files changed, 0 insertions(+), 54 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Sun May 30 18:11:10 2021 -0400 +++ b/index.html Sun May 30 18:13:47 2021 -0400 @@ -30,58 +30,4 @@ <p>member of <a href="https://1123.best">1123</a></p> <p><a style="color:skyblue;" href="https://twitter.com/intent/user?user_id=858179488970100736">Twitter</a> | <a style="color:gray" href="https://steamcommunity.com/id/nikolaicube/">Steam</a> | <a style="color:red;" href="https://youtube.com/paperytpmv">YouTube</a></p> <p><a href="cool.html">cool shit</a></p> - body{ - margin:0; - background-image: url("tomoko.gif"); - background-position: center top; - background-size: 100% auto; - text-align: center; - } - </style> - <script> - window['libopenmpt'] = {}; - libopenmpt.locateFile = function (filename) { - return filename; - }; - libopenmpt.onRuntimeInitialized = function () { - if (document.referrer) { - init(); - path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm"; - if (player != undefined) { - player.load(path, afterLoad.bind(this, path)); - } - document.getElementById('button').style.visibility = "hidden"; - } - else { - document.getElementById('button').style.visibility = "visible"; - } - var player; - function init() { - if (player == undefined) { - player = new ChiptuneJsPlayer(new ChiptuneJsConfig(-1)); - } - else { - player.stop(); - player = undefined; - } - }; - function afterLoad(path, buffer) { - player.play(buffer); - }; - document.getElementById('button').onclick = function() { - init(); - path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm"; - if (player != undefined) { - player.load(path, afterLoad.bind(this, path)); - } - document.getElementById('button').style.visibility = "hidden"; - }; - } - </script> - <script src="libopenmpt.js"></script> - <script src="chiptune2.js"></script> -</head> -<body id="body"> - <br> - <input id="button" type="submit" name="button" value="epicness" style="visibility:hidden;"></input> </body>