forked from michaelbromley/soundcloud-visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (46 loc) · 2.07 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
<!DOCTYPE html>
<html>
<head>
<title>Soundcloud Visualizer by Michael Bromley</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="info">
Soundcloud visualizer: a canvas and webaudio API experiment by <a href="http://www.michaelbromley.co.uk">Michael Bromley</a>.<br>
For more information, visit the project's <a href="https://github.com/michaelbromley/soundcloud-visualizer">Github page</a><br><br>
<b>Instructions</b><br>
Paste the URL of a Soundcloud track or playlist into form and press enter.<br><br>
<b>Example track:</b> https://soundcloud.com/manchesterorchestra/simple-math<br>
<b>Example playlist:</b> https://soundcloud.com/manchesterorchestra/sets/simple-math-album-stream<br><br>
<b>Controls</b><br>
<b>space bar</b> - toggle play/pause<br>
<b>right/left arrow</b> - skip forward/backwards through playlist<br>
</div>
<div id="visualizer"></div>
<div id="controlPanel" class="hidden">
<div id="tab"><a href="#" id="toggleButton"><i class="icon-menu"></i></a></div>
<div id="trackInfoPanel" class="hidden">
<img id="infoImage" src="">
<div id="infoArtist"></div>
<div id="infoTrack"></div>
</div>
<div id="playerControls">
<form id="form">
<input id="input" placeholder="Paste Soundcloud URL here (https://soundcloud.com/artist/track)">
<button type="submit" id="submit"><i class="icon-play"></i></button><br>
</form>
<audio id="player" controls="" autoplay="" preload autobuffer></audio>
</div>
</div>
<div id="messageBox" class="hidden">
</div>
<footer>
<a href="#" id="credit"> <i class="icon-info"></i> About</a>
<span id="github"><a href="https://github.com/michaelbromley/soundcloud-visualizer"><i class="icon-github"></i> Source on Github</a></span>
<span id="scLogo"><a href="http://soundcloud.com/"><img src="assets/powered_by_white.png"></a></span>
</footer>
<script src="http://connect.soundcloud.com/sdk.js"></script>
<script src="js/app.js"></script>
</body>
</html>