-
Notifications
You must be signed in to change notification settings - Fork 77
/
index.html
97 lines (94 loc) · 5.38 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
<!DOCTYPE HTML>
<html>
<head>
<title>Shuffle: Play a Random YouTube Song</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Quicksand&text=MUSIC" rel="stylesheet" type="text/css"/>
<link rel="shortcut icon" href="static/favicon.ico"/>
<!-- JQuery and Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<!-- Custom styles -->
<link href="static/css/main.css" rel="stylesheet" type="text/css"/>
<script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
<!-- Search engine meta tags -->
<meta name="description" content="Shuffle is an open source web app which continuously plays a random most viewed, top of the billboard or latest song from YouTube.">
<!-- Facebook meta tags -->
<meta property="og:title" content="Shuffle: Play a random YouTube song.">
<meta property="og:description" content="A web app which plays a random song from YouTube.">
<meta property="og:image" content="">
<meta property="og:url" content="https://studenton.com/shuffle/">
<!-- Twitter meta tags -->
<meta name="twitter:title" content="Shuffle: Play a random YouTube song.">
<meta name="twitter:description" content="A web app which plays a random song from YouTube.">
<meta name="twitter:image" content="">
<meta name="twitter:card" content="">
</head>
<body>
<!-- Navigation bar content -->
<nav class="navbar navbar-toggleable-md navbar-inverse bg-primary">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbar-toggler" aria-controls="navbar-toggler" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="/"><i class="fa fa-random" aria-hidden="true"></i> Shuffle</a>
<div class="collapse navbar-collapse" id="navbar-toggler">
<ul class="navbar-nav mr-auto mt-2 mt-md-0">
<li class="nav-item">
<a class="nav-link" href="#about" data-toggle="modal" data-target=".about-modal"><i class="fa fa-tag" aria-hidden="true"></i> About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/amitness/shuffle" target="_blank"><i class="fa fa-github" aria-hidden="true"></i> Contribute</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="nav-item">
<a class="nav-link" href="/shuffle"><i class="fa fa-refresh" aria-hidden="true"></i> Reload</a>
</li>
</ul>
</div>
</nav>
<!-- YouTube iframe and buttons -->
<div class="container-fluid">
<div class="d-flex row justify-content-around align-items-center">
<button id="back" type="button" class="btn btn-default">
<i class="fa fa-step-backward" aria-hidden="true"></i>
</button>
<iframe id="player" width="853" height="480" src="about:blank" allowfullscreen allow="autoplay">
</iframe>
<button id="forward" type="button" class="btn btn-default">
<i class="fa fa-step-forward" aria-hidden="true"></i>
</button>
</div>
<!-- Footer -->
<div class="footer">
<a href="https://github.com/amitness/shuffle/fork">
<img src="https://img.shields.io/github/forks/amitness/shuffle.svg?style=for-the-badge&logo=github&label=Fork" alt="Fork on GitHub"/>
</a>
</div>
</div>
<!-- About modal -->
<div class="modal fade about-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">About Shuffle</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
Plays random YouTube song on every reload.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="static/js/data.js" type="text/javascript"></script>
<script src="static/js/script.js" type="text/javascript"></script>
</body>
</html>