comparison index.html @ 9:f8f852d8c466

aAAAAAAAAAAA
author Paper <mrpapersonic@gmail.com>
date Sun, 30 May 2021 18:13:47 -0400
parents 84f89ee82594
children 787fa7e08fbd
comparison
equal deleted inserted replaced
8:84f89ee82594 9:f8f852d8c466
28 <h1>sup</h1> 28 <h1>sup</h1>
29 <p>most people know me from <a href="https://youtube.com/c/paperytpmv">ytpmv</a>, but i also make <a href="https://modarchive.org/index.php?request=view_profile&query=92603">modules</a></p> 29 <p>most people know me from <a href="https://youtube.com/c/paperytpmv">ytpmv</a>, but i also make <a href="https://modarchive.org/index.php?request=view_profile&query=92603">modules</a></p>
30 <p>member of <a href="https://1123.best">1123</a></p> 30 <p>member of <a href="https://1123.best">1123</a></p>
31 <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> 31 <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>
32 <p><a href="cool.html">cool shit</a></p> 32 <p><a href="cool.html">cool shit</a></p>
33 body{
34 margin:0;
35 background-image: url("tomoko.gif");
36 background-position: center top;
37 background-size: 100% auto;
38 text-align: center;
39 }
40 </style>
41 <script>
42 window['libopenmpt'] = {};
43 libopenmpt.locateFile = function (filename) {
44 return filename;
45 };
46 libopenmpt.onRuntimeInitialized = function () {
47 if (document.referrer) {
48 init();
49 path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm";
50 if (player != undefined) {
51 player.load(path, afterLoad.bind(this, path));
52 }
53 document.getElementById('button').style.visibility = "hidden";
54 }
55 else {
56 document.getElementById('button').style.visibility = "visible";
57 }
58 var player;
59 function init() {
60 if (player == undefined) {
61 player = new ChiptuneJsPlayer(new ChiptuneJsConfig(-1));
62 }
63 else {
64 player.stop();
65 player = undefined;
66 }
67 };
68 function afterLoad(path, buffer) {
69 player.play(buffer);
70 };
71 document.getElementById('button').onclick = function() {
72 init();
73 path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm";
74 if (player != undefined) {
75 player.load(path, afterLoad.bind(this, path));
76 }
77 document.getElementById('button').style.visibility = "hidden";
78 };
79 }
80 </script>
81 <script src="libopenmpt.js"></script>
82 <script src="chiptune2.js"></script>
83 </head>
84 <body id="body">
85 <br>
86 <input id="button" type="submit" name="button" value="epicness" style="visibility:hidden;"></input>
87 </body> 33 </body>