-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
119 lines (105 loc) · 3.63 KB
/
index.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
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsmediatags/3.9.5/jsmediatags.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mp3tag.js@latest/dist/mp3tag.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="./script.js"></script>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/hung1001/font-awesome-pro@4cac1a6/css/all.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<link rel="stylesheet" href="./dist/v2.css" />
<section class="player">
<header class="player__details details">
<h2 class="details__title placeholder--title">{ TITLE }</h2>
<p class="details__artist placeholder--artist">{ ARTIST }</p>
</header>
<section class="player__actions actions">
<button
type="button"
class="actions__button actions__button--repeat button--repeat button--active"
>
<i class="actions__icon icon--repeat fa fa-repeat"></i>
</button>
<button
type="button"
class="actions__button actions__button--shuffle button--shuffle button--diactive"
>
<i class="actions__icon icon--random fa fa-random"></i>
</button>
<button
type="button"
class="actions__button actions__button--playlist button--playlist"
>
<i class="actions__icon icon--playlist fa fa-list-music"></i>
</button>
<button
type="button"
class="actions__button actions__button--volume button--volume"
>
<i class="actions__icon icon--volume fa fa-volume"></i>
</button>
<div class="volume actions__bar actions__bar--volume bar--volume">
<span class="actions__handle volume__handle handle--volume"></span>
</div>
<div class="actions__wrap actions__wrap--duration">
<span class="duration__current placeholder--current">00:00:00</span>
<span class="duration__until placeholder--duration">02:33</span>
</div>
<div class="actions__bar actions__bar--duration bar--duration duration">
<span
class="duration__handle actions__handle handle--duration"
></span>
</div>
</section>
<section class="player__controls controls">
<button
tabindex="0"
class="controls__button controls__button--backward button--backward"
>
<i class="controls__icon icon--backward fa fa-fast-backward"></i>
</button>
<button
tabindex="0"
class="controls__button controls__button--action button--action"
>
<i class="controls__icon icon--action fa fa-play"></i>
</button>
<button
tabindex="0"
class="controls__button controls__button--forward button--forward"
>
<i class="controls__icon icon--forward fa fa-fast-forward"></i>
</button>
</section>
<figure class="details__cover cover">
<img
class="cover__image placeholder--cover"
src="https://www.ganja2music.com/Image/Post/06.93/08/Homayoun-Shajarian---Arayes.jpg"
alt="{ COVER-ALT }"
/>
<figcaption style="display: none"></figcaption>
</figure>
<section class="player__playlist playlist playlist--diactive">
<ul class="playlist__list"></ul>
</section>
<button
type="button"
class="playlist__button playlist__button--close button--close"
>
<i class="playlist__icon icon--close fa fa-times"></i>
</button>
<!-- METADATA -->
<audio
style="display: none"
id="player-main-audio"
src="https://raw.githubusercontent.com/miko-github/miko-github/gh_assets/assets/sounds/Homayoun%20Shajarian%20-%20Arayeshe%20Ghaliz.mp3"
preload="metadata"
volume="0.5"
></audio>
<!-- TODO : <input type="file" /> -->
</section>