-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvisualizer.html
More file actions
44 lines (29 loc) · 1.83 KB
/
visualizer.html
File metadata and controls
44 lines (29 loc) · 1.83 KB
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
<!DOCTYPE html>
<html lang ="en">
<head>
<header name = "Access-Control-Allow-Origin" value = "*" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script src="https://connect.soundcloud.com/sdk/sdk-3.1.2.js"></script>
<link rel="stylesheet" type="text/css" href="./css/visualizer.css" />
</head>
<body>
<div style="margin:0 auto;">
<form id="inputURL" style="position:absolute;">
<input type="text" id="myText" placeholder="Enter a soundcloud URL" value="https://soundcloud.com/joeypecoraro/warm">
<button id="playButton" type="button" class="btn btn-default " style="">
<span class="glyphicon glyphicon-play-circle"></span>
</button>
</form>
</div>
<audio id="player" autoplay preload autobuffer></audio>
<!-- <canvas class="visualizer" width="900px" height="400px"></canvas> -->
<canvas class="visualizer" style="width:100%; height:100%; margin:0px;"></canvas>
</body>
<script src="./scripts/visualizer.js"></script>
</html>