-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (48 loc) · 2.04 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
<!DOCTYPE html>
<html lang="en" ng-app="myApp">
<head>
<meta charset="UTF-8">
<title>Soundcloud API Project</title>
<!-- Bootstrap Core CSS-->
<link href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body ng-controller="MainController">
<a name="page-top"></a>
<section id="top-half">
<header id="page-top">
<h1>Marc's Music Player<br><span id="fine-print">(using Soundcloud API)</span></h1>
<img src="http://cdn.pitchfork.com/news/64436/26de78d5.png" width="250" height="100" alt="" id="artwork" />
</header>
<h2>Search for a Song or Artist on Soundcloud!</h2>
<br>
<div id="search-section">
<input type="search" id="search">
<button id="og-button" onclick="audioResults()">Search</button>
</div>
<!-- Message that loads after user searches -->
<div id="message">
<h2>When you press play, that song will load on the page above the search results</h2>
</div>
</section>
<!-- Modal loads embeded song above search results when play button is clicked -->
<div class="modal fade" id="modal1" tabindex="-1" role="dialog" aria-labelledby="modal1Label" style="display: block; padding-left: 0px;">
<div class="modal-content"></div>
</div>
<!-- Search Results populate here -->
<div id="search-results">
<ul id="results"></ul>
<p id="error"></p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="js/jquery.easing.min.js"></script>
<!-- Bootstrap Core JavaScript-->
<script src="js/bootstrap.js"></script>
<script src="https://cdn.rawgit.com/MustagheesButt/SoundCloud-JS-SDK/master/sdk.js"></script>
<!-- Pagescroll Javascript -->
<script src="js/scrollreveal.min.js"></script>
<script src="js/creative.js"></script>
<!-- Javascript file with API call -->
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>