-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
171 lines (138 loc) · 7.69 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gargantuan.FM</title>
<link rel="shortcut icon" href="http://gargantuanfm.herokuapp.com/favicon.ico" type="image/x-icon">
<link rel="icon" href="http://gargantuanfm.herokuapp.com/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/foundation.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<link rel="stylesheet" type="text/css" href="assets/foundation-icons/foundation-icons.css">
<link rel="stylesheet" href="https://cdn.plyr.io/2.0.13/plyr.css">
<script src="https://www.gstatic.com/firebasejs/3.6.4/firebase.js"></script>
<script src="https://connect.soundcloud.com/sdk/sdk-3.1.2.js"></script>
<script src="https://cdn.jsdelivr.net/momentjs/2.12.0/moment.min.js"></script>
<script src="assets/audiojs/audio.min.js" />
<script>
audiojs.events.ready(function () {
var as = audiojs.createAll();
});
</script>
</head>
<body style="background: url('assets/images/static.gif') no-repeat cover">
<div id="gradient"></div>
<!-- <video id="backgroundVideo" poster="assets/images/static.gif" playsinline autoplay muted>
<source type="file" accept="video/*">
</video>
<iframe type="text/html" id="videoPlayer" style="width: 100vh; height: 100vh" src="" frameborder="0">
</iframe> -->
<div data-type="youtube" data-video-id="Vdb9IndsSXk" id="backgroundVideo" class="js-player"></div>
<div class="main-body">
<div class="row logo">
<div class="small-12 medium-8 small-centered columns text-center">
<img class="title" src="assets/images/gargantuan_logo.png" alt="gargantuan logo" />
<button class="gargantuan-btn" data-toggle="channel-modal">Add A Channel</button>
<button class="gargantuan-btn sc-auth">Log Into SoundCloud</button>
<div class="reveal small text-center" id="channel-modal" data-reveal data-close-on-click="false" data-animation-in="scale-in-up">
<h1>Create A Channel</h1>
<form class="submitSong" data-abide>
<div class="input-wrapper">
<div class="alert callout" data-closable="slide-out-right" style="display:none">
<p>Your channel needs a name!</p>
<button class="close-button" aria-label="Dismiss alert" type="button" data-close><span aria-hidden="true">×</span></button>
</div>
<input type="text" required id="channel-name" placeholder="Channel Name" />
</div>
<input type="text" id="songName" placeholder="Enter A Song or Artist" />
<button class="search-submit button small float-left">Search for Song</button>
<div class="float-right">
<button type="submit" class="channel-create button small">Finish Creating Channel</button>
<button type="reset" class="reset button small">Reset Channel Info</button>
</div>
</form>
<button class="close-button" data-close aria-label="Close reveal" type="button">
<span aria-hidden="true">×</span>
</button>
<div class="row">
<div class="small-12 columns">
<h2 class="underline">Songs On Channel</h2>
<ul class="small-up-2 medium-up-3 picked-songs">No Songs Picked Yet.</ul>
</div>
</div>
<div class="row ">
<div class="small-12 columns">
<h2 class="underline">Pick Your Song</h2>
<ul class="small-up-2 medium-up-3 search-list">Hit Search and Then Look Here!</ul>
</div>
</div>
</div>
</div>
</div>
<!-- Channel List Area -->
<div class="row text-center channel-body">
<div class="small-12 medium-8 small-centered small-up-2 medium-up-2 large-up-3 text-center channelList" data-equalizer></div>
</div>
<div class="row expanded display-buttons">
<div class="playlist-btn-container text-center">
<button type="button" class="button small show-button" data-toggle="offCanvasLeft">Open Player</button>
<button type="button" class="button small show-channels">Hide Channels</button><br/>
<button class="button small channel-toggle" type="button" data-toggle="channel-menu" data-options="align:top">Change The Video Channel</button>
<div class="dropdown-pane top" id="channel-menu" data-dropdown></div>
<button class="button small" id="nextVideo">Skip Video</button>
<button class="button small" id="muteVideo">Mute Video</button>
</div>
</div>
<div class="off-canvas position-left expanded row track-player" id="offCanvasLeft" data-off-canvas data-transition="push">
<div class="row music-box">
<div class="columns small-10 small-centered music-information text-center">
<div class="playlist-info"></div>
<div class="song-info"></div>
<audio class="demoTrack"></audio>
</div>
<div class="columns small-10 small-centered music-information text-center">
<div class="video-info"></div>
<div class="playlist-link">
</div>
</div>
<div class="columns small-10 small-centered text-center">
<div id="audioControl">
<i id="prevButton" class="fi-previous"></i>
<i id="play-pause" class="fi-pause"></i>
<i id="skipButton" class="fi-next"></i>
</div>
<div class="current-time"></div>
<a class="credits" href="https://github.com/alexrosenkranz/gargantuanfm/">View Project Info</a>
</div>
</div>
</div>
</div>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyA7DGECkMbsXDv0-JUb9OAozaTZgL__i-U",
authDomain: "gargantuan-2b182.firebaseapp.com",
databaseURL: "https://gargantuan-2b182.firebaseio.com",
storageBucket: "gargantuan-2b182.appspot.com",
messagingSenderId: "779803240904"
};
firebase.initializeApp(config);
var dataRef = firebase.database();
SC.initialize({
client_id: 'VPeJNS9J8fyQ9gFSZs69JZgH4PLgsPK5',
redirect_uri: 'https://gargantuanfm.herokuapp.com/callback.html'
});
</script>
<script src="https://code.jquery.com/jquery-3.1.1.js"></script>
<script src="https://cdn.plyr.io/2.0.13/plyr.js"></script>
<!-- Include the jQuery Mobile library -->
<script src="assets/js/api.js"></script>
<script src="assets/js/youtube.js"></script>
<script src="assets/js/vendor/what-input.js"></script>
<script src="assets/js/vendor/foundation.js"></script>
<script src="assets/js/app.js"></script>
<script type="text/javascript" src="assets/js/soundcloud.js"></script>
<script type="text/javascript" src="assets/js/channelload.js"></script>
</body>
</html>