-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
110 lines (90 loc) · 2.79 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>HTML5 Audio Player | Tarik Alyhaya</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="styles/style.css" />
<no-script>
Javascript needs to be enabled
</no-script>
<script type="text/javascript" src="scripts/jquery-3.3.1.min.js"></script>
<style>
#site-top {
margin-bottom: 30px;
background: var(--sf-img-6) 0 10% / auto 80% no-repeat;
min-height: 9em;
border-bottom: 1px solid;
}
#site-top a {
margin-top: -10px;
}
</style>
</head>
<body>
<!--target="_blank" rel="noreferrer noopener"-->
<!--main header"-->
<header id="site-top">
<a href="https://gumbol.github.io/">gumbol.github.io</a>
</header>
<main>
<p>
<b>Click on the play button</b>
</p>
<div class="audio-player">
<div class="cover">
<h3>The Hobbit by J.R.R.Tolkine</h3>
<img src="images/hobbit-01-600w.webp" width="600" />
</div>
<div>
<ul id="playlist">
<li song="hobbit-01.mp3">Chapter 1</li>
<li song="hobbit-02.mp3">Chapter 2</li>
</ul>
</div>
<!-- @volume controls -->
<!-- @progress bar -->
<div id="progress-bar">
<!-- this uses native progress element-->
<span id="seeker"></span>
</div>
<!-- @end -->
<!-- @soundtrack time information -->
<div class="time-container">
<span id="current-time">00:00</span>
<span id="duration">00:00</span>
</div>
<div class="volume-container">
Volume:
<input id="volume-slider" type="range" min="0" max="100" value="50" />
</div>
<!-- @end -->
<div id="buttons">
<span>
<button id="prev">≪</button>
<button id="play">▹</button>
<button id="pause" class="hide">‖</button>
<button id="next">≫</button>
</span>
</div>
</div>
</main>
<script src="scripts/html5-audio-player.js"></script>
<footer id="global">
<div>
<nav class="site-links">
Author: <a href="https://gumbol.github.io/about">Tarik Alyahya</a>
<a class="btn1" href="https://github.com/gumbol/html5-audio-player" target="_blank"
rel="noreferrer noopener">Source code</a>
<a href="https://gumbol.github.io/projects.html">More projects</a>
</nav>
<nav style="text-align: center;" class="out-links">
<a href="https://github.com/gumbol" title="Github mascot" target="_blank" rel="noopener noreferrer">
<img src="images/github-01-32x.png" alt="GitHub" width="32" />
</a>
</nav>
</div>
</footer>
</body>
</html>