forked from gsavio/player-shoutcast-html5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
121 lines (118 loc) · 6.42 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
120
121
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="utf-8">
<title>Web Rádio</title>
<meta name="description" content="HTML5 Player for SHOUTCast streaming">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#171717">
<meta property="og:url" content="http://gsavio.github.io/player-shoutcast-html5">
<meta property="og:title" content="I'm listening Rock FM!">
<meta property="og:site_name" content="Não deixe o Rock sair de você">
<meta property="og:description" content="">
<meta property="og:image" content="img/bg-capa.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="512">
<meta property="og:image:height" content="512">
<link rel="icon" type="image/png" href="img/logo.png" />
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/animate.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="cover-site">
<div id="bgCover"></div>
<div class="bg-mask"></div>
</div>
<main>
<section id="player">
<div class="container">
<div class="row web-player">
<div class="col-12 col-lg-10">
<div class="row">
<div class="col-12 col-md-5">
<div class="cover-album">
<div id="currentCoverArt"></div>
<div class="watermark"></div>
</div>
</div>
<div class="col-12 ml-md-auto col-md-6">
<div class="row">
<div class="col-12">
<div class="info-current-song">
<h2 id="currentSong" class="current-song text-uppercase">...</h2>
<h3 id="currentArtist" class="current-artist text-captalize">...</h3>
</div>
</div>
<div class="col-12">
<div class="row">
<div class="play-pause col-12 col-md-2 text-center">
<i id="playerButton" class="fa fa-play" onclick="togglePlay()"></i>
</div>
<div class="col-12 col-md-10 text-center">
<div class="row volume-control">
<div class="volume-icon col-1"><i class="fa fa-volume-up"></i></div>
<div class="volume-slide col-10 text-center"><input type="range" id="volume"
step="1" min="0" max="100" value="80"></div>
<div class="percentual-volume col-12">Volume <span id="volIndicator">...</span>%</div>
</div>
</div>
<div class="col-12 text-center call-lyrics">
<a href="#" class="lyrics" style="" data-target="#modalLyrics">Lyrics</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row historic">
<div class="col-12">
<h2>Recently Played</h2>
<div class="row" id="historicSong">
<article class="col-12 col-md-6">
<div class="cover-historic"></div>
<div class="music-info">
<div class="song">...</div>
<div class="artist">...</div>
</div>
</article>
<article class="col-12 col-md-6">
<div class="cover-historic"></div>
<div class="music-info">
<div class="song">...</div>
<div class="artist">...</div>
</div>
</article>
</div>
</div>
</div>
</div>
</section>
</main>
<div class="modal fade" id="modalLyrics" tabindex="-1" role="dialog" aria-labelledby="lyricsSong" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="lyricsSong">Lyric</h5>
<button type="button" style="color: #fff" class="close" data-dismiss="modal" aria-label="Fechar">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="vagalume text-center"><a href="https://www.vagalume.com.br/" target="_blank" rel="noopener"><img
src="img/103-fundo-escuro.jpg" class="" /></a><br />Powered by <a href="https://www.vagalume.com.br/"
target="_blank" rel="noopener">Vagalume</a></div>
<div class="modal-body" id="lyric"></div>
<div class="modal-footer">
<button type="button" class="btn btn-success" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>