-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (41 loc) · 1.33 KB
/
index.html
File metadata and controls
47 lines (41 loc) · 1.33 KB
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
<!DOCTYPE HTML>
<html>
<head>
<title></title>
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<div class="trax-player" id="trax-player">
<div class="display">
<div class="loading"></div>
<div class="display-inner">
<div class="title"></div>
<div class="author"></div>
<div class="time"><span class="length"></span></div>
</div>
</div>
<div class="control">
<button class="play-btn" onClick={_traxPlayer.Play()}>Play</button>
</div>
<div class="volumecontainer">
<div class="volume-indicator">
<div class="volume-indicator-filled">
<div class="volume-indicator-filled-bg"></div>
</div>
</div>
<input type="range" min="0" max="100" value="50" class="volume">
</div>
<div class="music-activity"></div>
</div>
<script type="text/javascript" src="js/TraxPlayer.js"></script>
<script>
var _traxPlayer = new TraxPlayer("https://classichabbo.com/trax/song/560", "https://cdn.classichabbo.com/r38/dcr/hof_furni/mp3/");
(async () => {
await _traxPlayer.Preload();
})()
.catch(error => {
console.log(error);
});
</script>
</body>
</html>