-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplayer.html
37 lines (32 loc) · 1.25 KB
/
player.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
<!doctype html>
<html>
<head>
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="stylesheet" type="text/css" href="./styles/player.css">
<link rel="icon" type="image/png" href="./images/favicon.png" />
</head>
<body>
<!-- <div id="loader" style="display: none;"></div> -->
<div class="scripts" style="display: none;">
<script src="//connect.soundcloud.com/sdk.js"></script>
<script src="./third-party/url.js"></script>
<script src="./third-party/jquery.js"></script>
<script src="./third-party/tween.js"></script>
<script src="./third-party/two.js"></script>
<script src="./src/player.js"></script>
<script src="./third-party/jquery.bigscreen.js"></script>
<script>
var player = new Player('f362eb7eaa0b6c159e1148e127a78b88')
.appendTo(document.body);
// url.permalink = 'https://soundcloud.com/ghostly';
// url.permalink = 'https://soundcloud.com/ghostly/sets/various-artists-smm-opiate';
var params = _.defaults(url, {
permalink: 'https://soundcloud.com/ghostly/lusine-panoramic'
});
player.fetch(params.permalink, function(resp) {
console.log(resp);
});
</script>
</div>
</body>
</html>