-
Notifications
You must be signed in to change notification settings - Fork 0
/
player.html
132 lines (123 loc) · 3.46 KB
/
player.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<link rel="stylesheet" href="./css/bootStrap.css">
<link rel="stylesheet" href="./css/player.css">
<link rel="stylesheet" href="./src/lib/flStudioKnob/knob.min.css">
<link rel="stylesheet" href="./src/lib/ReverbEQ/reverb.css">
<style>
article.container {
width: inherit;
height: inherit;
display: grid;
grid-template-columns: 1fr;
grid-template-rows: min-content 1fr;
gap: 0px 0px;
grid-template-areas:
"left"
"right";
}
.statJS canvas {
width: 7em !important;
height: auto !important;
}
/* Eqmodules */
.eqmodules {
inset: 0;
position: absolute;
z-index: 2;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* misc */
.optionTab {
position: absolute;
z-index: 9999;
top: unset;
bottom: 0;
right: 0;
}
.statJS canvas {
width: 7em !important;
height: auto !important;
}
@media screen and (max-height:426px) {
article.container {
grid-template-columns: min-content 1fr;
grid-template-rows: 1fr;
grid-auto-columns: 1fr;
grid-auto-rows: 1fr;
gap: 0px 0.6em;
grid-auto-flow: row;
grid-template-areas:
"left right";
margin-top: 0.5em;
}
}
.settings a:has(.sekai-button.decide) {
text-decoration: none;
}
</style>
<script type="importmap">
{
"imports": {
"lrc-file-parser": "https://cdn.jsdelivr.net/npm/lrc-file-parser@latest/+esm",
"wavesurfer.js": "https://cdn.jsdelivr.net/npm/wavesurfer.js@beta/+esm",
"wavesurfer/plugins/": "https://cdn.jsdelivr.net/npm/wavesurfer.js@beta/dist/plugins/",
"lib/": "./src/lib/",
"FlStudioKnob": "./src/lib/flStudioKnob/index.js",
"@logue/reverb": "https://cdn.jsdelivr.net/npm/@logue/reverb@latest/+esm"
}
}
</script>
<script src="https://cdn.jsdelivr.net/npm/jsmediatags@latest/dist/jsmediatags.min.js"></script>
<script type="module" src="./index.js"></script>
</head>
<body class="themed">
<main>
<div class="waveform" id="waveform"></div>
<article class="container">
<div class="left">
<div class="trackNo">
<label for="track">track</label>
<span id="track">0</span>
</div>
<div class="image">
<img>
</div>
</div>
<div class="right">
<div class="title">
<span>unknown</span>
</div>
<div class="artist">
<span>unknown</span>
</div>
<div class="album">
<span></span>
</div>
<div class="illust">
<label for="illust">illustrated by</label>
<span id="illust">unknown</span>
</div>
<div class="lyricsContiner">
<div class="wave"></div>
<div class="lyrics"></div>
</div>
</div>
</article>
</main>
<div class="optionTab">
<img src="./setting.svg" alt="" width="50" height="50" id="setting">
</div>
<section class="settings">
<div class="eqmodules hide"></div>
</section>
</body>
</html>