-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (49 loc) · 1.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/bootstrap.min.css">
<script type="text/javascript" src="js/cssrefresh.js"></script>
<meta http-equiv="Expires" content="0">
<meta http-equiv="Last-Modified" content="0">
<meta http-equiv="Cache-Control" content="no-cache, mustrevalidate">
<meta http-equiv="Pragma" content="no-cache">
<script>
function shuffle(array) {
for (var random, temp, position = array.length; position; random = Math.floor(Math.random() * position), temp = array[--position], array[position] = array[random], array[random] = temp);
return array;
}
</script>
</head>
<body onload="prueba001">
<div class="container">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<!--IMAGEN DE CABEZA-->
<center>
<h1>SubCulturaStereo</h1>
</center>
</div>
</div>
<div class="row">
<div class="col-md-6">
<!--IMAGEN ALBUM-->
<img src="img/002.jpg" alt="canción" width="300" height="300">
<audio id="player" controls src="shuffle" autoplay onload="function shuffle(array)"></audio>
</div>
<!--lista canciones-->
<div class="col-md-6" id="prueba001">
<button class="btn btn-success" id="shuffle" onload>
<i class="fa fa-random"></i>
</button>
<ul class="list-group" id="playlist"></ul>
</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="https://use.fontawesome.com/e622d3b53e.js"></script>
<script src="js/app.js"></script>
<script>window.onload = shuffle;</script>
</body>
</html>