-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
241 lines (231 loc) · 12.7 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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!--
Copyright 2018 LNFWebsite
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!doctype html>
<html>
<head>
<title>Streamly</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Portable, independent, web-based, simple streaming YouTube video queues and playlists for music videos, audiobooks, etc." />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto" type="text/css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/FortAwesome/Font-Awesome@5/css/all.min.css" type="text/css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css" type="text/css" />
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" type="text/css" />
<!-- Icon Stuff -->
<link rel="shortcut icon" id="favicon" href="res/img/favicon.png" type="image/x-icon" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-startup-image" href="res/img/icon.png">
<link rel="apple-touch-icon" href="res/img/icon.png"/>
<link rel="apple-touch-icon-precomposed" sizes="128x128" href="res/img/icon.png">
<meta name="mobile-web-app-capable" content="yes">
<link rel="shortcut icon" sizes="196x196" href="res/img/icon.png">
<link rel="shortcut icon" sizes="128x128" href="res/img/icon.png">
<!-- Meta tags for Open Graph Protocol -->
<meta property="og:title" id="ogTitle" content="Streamly - Open-source, web-based, YouTube video queues." />
<meta property="og:url" content="https://lnfwebsite.github.io/Streamly" />
<meta property="og:image" content="https://raw.githubusercontent.com/LNFWebsite/Streamly/master/res/img/icon.png" />
<!-- CSS Stylesheet -->
<link rel="stylesheet" href="res/css/styles.css" type="text/css" />
<!--<link rel="stylesheet" href="res/css/sbs.css" type="text/css" />-->
<!-- External scripts -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<!--<script src="https://cdn.jsdelivr.net/gh/urin/jquery.balloon.js@1/jquery.balloon.min.js"></script>-->
</head>
<body>
<div id="dataFramesContainer"></div>
<a id="forkme" href="https://github.com/LNFWebsite/Streamly" target="_blank"><img id="forkmeImage" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<header>
<h1 id="title">
<a href="">
<img id="logo" src="https://raw.githubusercontent.com/LNFWebsite/Streamly/master/res/img/logo/logo_streamly_color/logo_streamly_color_low_res.png" />
</a>
</h1>
<div id="inputBoxContainer">
<form action="javascript:input(0);" method="get" id="searchForm">
<input type="text" id="inputBox" />
</form>
<div id="searchProgress">
<div class="spinner">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
</div>
</div>
<button id="saveButton" data-clipboard-text="https://lnfwebsite.github.io/Streamly/" onclick="saveButton();" title="Copy your playlist to clipboard"></button>
<span class="fas fa-columns headerButton" id="sbsButton" onclick="toggleSBS();" title="Toggle side-by-side view"></span>
<span class="fas fa-cog headerButton" id="settingsButton" onclick="toggleMenu('settings');" title="Settings"></span>
<span class="fas fa-exchange" id="stationIcon" onclick="disconnectStation();" title="Streamly Station is connected. Click to disconnect..."></span>
</header>
<div id="main">
<div id="dropShadow"></div>
<div id="dropOverlay"><p>(Drop videos/playlists anywhere on screen)</p></div>
<div id="searchResultsWindow" class="floatingMenu">
<h2>Search Results:</h2>
<div class="floatingMenuCloseButton" onclick="toggleMenu('searchResults');">Close</div>
<div id="searchResults" class="floatingMenuContents"></div>
</div>
<div id="settingsWindow" class="floatingMenu">
<div class="floatingMenuCloseButton" onclick="toggleMenu('settings');">Close</div>
<h2>Settings</h2>
<div class="floatingMenuContents">
<h3>General</h3><hr>
<p>
<label for="SBStoggle">Side by side view:</label>
<input type="checkbox" id="SBStoggle" onchange="toggleSBS();">
</p>
<p>
<label for="searchClose">Close search window on adding video:</label>
<input type="checkbox" id="searchClose" onchange="toggleSearchClose();">
<br><sup>Note: To do the reverse of this setting for one search press <code>Shift+\</code></sup>
</p>
<p>
<label for="autoplayListOverride">Use YouTube Mix/Playlist as Radio:</label>
<input type="checkbox" id="autoplayListOverride" onchange="toggleAutoplayListOverride();">
</p>
<h3>Streamly Station</h3><hr>
<p><i>Connect to a Streamly Station (Not implemented yet)</i></p>
<form action="javascript:actionConnectStation();" method="get">
<p>
<label for="connectStationBox">Address:</label>
<input type="textbox" id="connectStationBox" placeholder="Enter the Streamly Station address (ex. 192.168.0.15)..." title="Enter the Streamly Station address">
</p>
<p>
<label for="stationRemote">Remote?</label>
<input type="checkbox" id="stationRemote" onchange="toggleRemote();">
</p>
<p>
<label for="zenModeToggle">Zen Mode?</label>
<input type="checkbox" id="zenModeToggle" onchange="toggleZen();">
</p>
</form>
</div>
</div>
<div id="blurBackground"></div>
<form action="javascript:input(2);" method="get">
<input type="textbox" id="playlistNameBox" placeholder="Streamly Playlist" title="Enter your playlist name" />
</form>
<table id="videosTable"></table>
<div id="links">
<a href="https://github.com/LNFWebsite/Streamly/wiki/Getting-Started" target="_blank">Getting Started</a> |
<a href="https://github.com/LNFWebsite/Streamly/wiki/Playlists" target="_blank">Playlists Wiki</a> |
<a href="https://lnfwebsite.github.io/Streamly-Import/" target="_blank">Import Playlists</a> |
<a href="https://www.reddit.com/r/StreamlyReddit/" target="_blank">StreamlyReddit</a>
<br>
<a style="color:red;" href="https://www.reddit.com/r/StreamlyReddit/comments/mp6wna/quick_search_and_inbox_search_not_working/" target="_blank">Quick Search and In-Box Search not available</a>
</div>
</div>
<footer>
<div id="previousVideo" onclick="backVideo();" title="Back">
<div class="videoNameContainer">
<p class="videoName"></p>
</div>
<div class="videoImageContainer">
<div class="videoImageWrapper">
<img class="videoImage" src="" />
<span class="fas fa-backward"></span>
<p class="videoTime"></p>
</div>
</div>
</div>
<div id="playlistInterface">
<div id="youtubeContainer">
<span id="remotePauseIcon" class="fas fa-play"></span>
<iframe id="youtube" src="" allowfullscreen></iframe>
</div>
<div id="currentVideoTiming">
<span id="currentTime">0:00</span>
<span id="progressContainer">
<span id="progress" style="width:0%;"></span>
</span>
<span id="videoTime">0:00</span>
</div>
</div>
<div id="nextVideo" onclick="forwardVideo();" title="Forward">
<div class="videoImageContainer">
<div class="videoImageWrapper">
<img class="videoImage" src="" />
<span class="fas fa-forward"></span>
<p class="videoTime"></p>
</div>
</div>
<div class="videoNameContainer">
<p class="videoName"></p>
</div>
</div>
<div id="settings">
<span class="fas fa-arrow-circle-right" onclick="playlistFeatures.playNext();" title="Added videos will play next"></span>
<span class="fas fa-random" onclick="playlistFeatures.shuffle();" title="Playlist shuffle"></span>
<span class="fas fa-redo-alt" onclick="playlistFeatures.repeat();" title="Playlist repeat"></span>
<span class="fas fa-rss" onclick="playlistFeatures.autoplay();" title="Streamly Radio"></span>
<span class="fab fa-reddit" id="ad" onclick="shareOnReddit();" title="Share playlist on Reddit"></span>
</div>
</footer>
<!----
<div id="dialog"><p>Hey everyone, unfortunately YouTube has sealed off one of their data sources which has rendered quick search and in-box search unusable. Right now I've switched back to pop-up search until I can find a better solution. Rest assured your playlists always were and continue to be safe. I apologize for this inconvenience.</p></div>
<script>
//this is a standard dialog box for jquery that can be used to non-annoyingly get messages to users on-load
$("#dialog").dialog();
</script>
---->
<script src="res/js/front/initialize.js"></script>
<script src="res/js/front/youtube.js"></script>
<script src="res/js/front/share.js"></script>
<script src="res/js/front/events.js"></script>
<script src="res/js/back/global.js"></script>
<script src="res/js/back/base.js"></script>
<script src="res/js/back/playlistBack.js"></script>
<script src="res/js/back/playlistFront.js"></script>
<script src="res/js/back/data.js"></script>
<script src="res/js/back/progress.js"></script>
<script src="res/js/back/input.js"></script>
<script src="res/js/back/search.js"></script>
<script src="res/js/back/radio.js"></script>
<script src="res/js/back/station.js"></script>
<script src="res/js/back/toggles.js"></script>
<!--
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/front/initialize.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/front/youtube.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/front/share.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/front/events.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/global.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/base.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/playlistBack.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/playlistFront.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/data.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/progress.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/input.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/search.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/radio.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/station.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/LNFWebsite/Streamly@gh-pages/res/js/back/toggles.min.js"></script>
-->
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
var sc_project=10543623;
var sc_invisible=1;
var sc_security="4c623aaf";
</script>
<script type="text/javascript"
src="https://www.statcounter.com/counter/counter.js"
async></script>
<noscript><div class="statcounter"><a title="Web Analytics"
href="http://statcounter.com/" target="_blank"><img
class="statcounter"
src="//c.statcounter.com/10543623/0/4c623aaf/1/" alt="Web
Analytics"></a></div></noscript>
<!-- End of StatCounter Code for Default Guide -->
</body>
</html>