annotate index.html @ 8:84f89ee82594

???
author Paper <mrpapersonic@gmail.com>
date Sun, 30 May 2021 18:11:10 -0400
parents
children f8f852d8c466
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
1 <!DOCTYPE html>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
2 <head>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
3 <style>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
4 body {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5 text-align: center;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6 background-image: url("setup.bmp");
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
7 background-size: 100% auto;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8 background-position: top center;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9 background-repeat: repeat;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10 image-rendering: pixelated;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
11 text-shadow: -1px -1px 0px #000000, 1px 1px 0px #000000, -1px 1px 0px #000000, 1px -1px 0px #000000;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
12 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
13 p {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
14 font-size: 20px;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
15 color: white;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
16 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
17 h1 {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
18 font-size: 40px;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
19 color: white;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
20 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
21 a {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
22 text-decoration: none;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
23 color: tomato;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
24 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
25 </style>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
26 </head>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
27 <body>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
28 <h1>sup</h1>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
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>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
30 <p>member of <a href="https://1123.best">1123</a></p>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
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>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
32 <p><a href="cool.html">cool shit</a></p>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
33 body{
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
34 margin:0;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
35 background-image: url("tomoko.gif");
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
36 background-position: center top;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
37 background-size: 100% auto;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
38 text-align: center;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
39 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
40 </style>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
41 <script>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
42 window['libopenmpt'] = {};
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
43 libopenmpt.locateFile = function (filename) {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
44 return filename;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
45 };
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
46 libopenmpt.onRuntimeInitialized = function () {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
47 if (document.referrer) {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
48 init();
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
49 path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm";
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
50 if (player != undefined) {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
51 player.load(path, afterLoad.bind(this, path));
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
52 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
53 document.getElementById('button').style.visibility = "hidden";
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
54 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
55 else {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
56 document.getElementById('button').style.visibility = "visible";
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
57 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
58 var player;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
59 function init() {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
60 if (player == undefined) {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
61 player = new ChiptuneJsPlayer(new ChiptuneJsConfig(-1));
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
62 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
63 else {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
64 player.stop();
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
65 player = undefined;
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
66 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
67 };
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
68 function afterLoad(path, buffer) {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
69 player.play(buffer);
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
70 };
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
71 document.getElementById('button').onclick = function() {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
72 init();
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
73 path = "https://api.modarchive.org/downloads.php?moduleid=37049#christms.xm";
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
74 if (player != undefined) {
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
75 player.load(path, afterLoad.bind(this, path));
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
76 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
77 document.getElementById('button').style.visibility = "hidden";
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
78 };
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
79 }
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
80 </script>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
81 <script src="libopenmpt.js"></script>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
82 <script src="chiptune2.js"></script>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
83 </head>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
84 <body id="body">
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
85 <br>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
86 <input id="button" type="submit" name="button" value="epicness" style="visibility:hidden;"></input>
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
87 </body>