-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
57 lines (53 loc) · 2.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Website</title>
<style>
#playlist{
list-style: none;
}
#playlist li a{
color:black;
text-decoration: none;
}
#playlist .current-song a{
color:blue;
}
</style>
<!-- Source Code From YouTube.com/MicroTechTutorials you may remove this message on your webpage but please do not redistribtue -->
</head>
<body>
<video src="" controls id="audioPlayer">
</video>
<ul id="playlist">
<li class="current-song"><a href="https://thumbs2.redgifs.com/AzureIndelibleJabiru.mp4">1</a></li>
<li><a href="https://thumbs2.redgifs.com/GrossMealyJuliabutterfly.mp4">2</a></li>
<li><a href="https://thumbs2.redgifs.com/ShabbyBelatedNorwaylobster.mp4">3</a></li>
<li><a href="https://thumbs2.redgifs.com/DarkgreenBasicTattler.mp4">4</a></li>
<li><a href="https://thumbs2.redgifs.com/FineBustlingPorcupine.mp4">5</a></li>
<li><a href="https://thumbs2.redgifs.com/AnimatedArtisticDrongo.mp4">6</a></li>
<li><a href="https://thumbs2.redgifs.com/WellwornScarceTinamou.mp4">7</a></li>
<li><a href="https://thumbs2.redgifs.com/OilyFuzzyNinebandedarmadillo.mp4">8</a></li>
<li><a href="https://thumbs2.redgifs.com/BlondDotingCrustacean.mp4">9</a></li>
<li><a href="https://thumbs2.redgifs.com/ReflectingUprightQuinquespinosus.mp4">10</a></li>
</ul>
<a href="#" onclick="playlist.prevTrack();">Prev Track</a>
<a href="#" onclick="playlist.nextTrack();">NextTrack</a>
<a href="#" onclick="playlist.toggleShuffle();">Toggle Shuffle</a>
<script src="https://code.jquery.com/jquery-2.2.0.js"></script>
<script src="script.js"></script>
<!-- <script>
// loads the audio player
audioPlayer();
</script> -->
<script>
var config = {
autoplay: true,
loop: true,
shuffle: true
};
var playlist = new AudioPlaylist();
</script>
</body>
</html>