-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
67 lines (67 loc) · 3.14 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Kitchen Sink</title>
<link rel="stylesheet" href="sp://import/css/adam.css">
<link rel="stylesheet" href="sp://import/css/api.css">
<link rel="stylesheet" href="css/kitchensink.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/kitchensink.js"></script>
<script type="text/javascript" src="js/player.js"></script>
<script type="text/javascript" src="js/social.js"></script>
<script type="text/javascript" src="js/search.js"></script>
</head>
<body>
<div id="player" class="section">
<div id="now-playing"></div>
<div style="clear:both"></div>
<div id="commands">
<ul>
<li><a href="#" command="togglePause">Toggle Pause</a></li>
<li><a href="#" command="skip">Skip</a></li>
<li><a href="#" command="playTrackFromUri">Play a Random Track from your Library</a></li>
<li><a href="spotify:artist:4Z8W4fKeB5YxbusRsdQVPb" command="playTrackFromContext" pos="0">Play Radiohead's top tracks</a></li>
<li><a href="spotify:radio:artist:4Z8W4fKeB5YxbusRsdQVPb" command="launchArtistRadio">Launch Radiohead radio</a></li>
<li>Play a <a href="spotify:user:pitchforkmedia:playlist:4ajBV7IPKfCi87DhkofJCb">Playlist</a> from track:
<a href="spotify:user:pitchforkmedia:playlist:4ajBV7IPKfCi87DhkofJCb" command="playTrackFromContext" pos="1">2</a> |
<a href="spotify:user:pitchforkmedia:playlist:4ajBV7IPKfCi87DhkofJCb" command="playTrackFromContext" pos="4">5</a> |
<a href="spotify:user:pitchforkmedia:playlist:4ajBV7IPKfCi87DhkofJCb" command="playTrackFromContext" pos="17">18</a> |
<a href="spotify:user:pitchforkmedia:playlist:4ajBV7IPKfCi87DhkofJCb" command="playTrackFromContext" pos="22">23</a>
</li>
<li><a href="#" id="sharer" command="showSharePopup">Show Share Popup</a></li>
</ul>
</div>
<div id="play-history"></div>
</div>
<div id="social" class="section">
<div id="friend-drop">
Drag and drop a friend here!
</div>
<div id="friend-title"></div>
<div id="friend-tracks"></div>
</div>
<div id="search" class="section">
Enter a search term: <input type="text" id="search-term" value="Radiohead">
<button id="search-basic">Search</button> |
<button id="search-play">Play</button> |
<button id="search-explore">Explore</button>
<div id="search-examples" class="examples">
<ul>
<li><a href="#">The Shins</a></li>
<li><a href="#">Youth Lagoon 17</a></li>
<li><a href="#">artist:"The Beach Boys" album:"Smile"</a></li>
<li><a href="#">The Beatles Love Me Do</a> (will find local track if available)</li>
<li><a href="#">artist:"The Beatles" Love Me Do</a> (won't find local track)</li>
</ul>
</div>
<div class="examples">
<ul>
<li><a href="spotify:app:kitchensink:search:basic:the+smiths">spotify:app:kitchensink:search:basic:the+smiths</a></li>
<li><a href="spotify:app:kitchensink:search:play:the+cure+close+to+me">spotify:app:kitchensink:search:play:the+cure+close+to+me</a></li>
</ul>
</div>
<div id="search-results"></div>
</div>
</body>
</html>