-
Notifications
You must be signed in to change notification settings - Fork 0
/
play.html
executable file
·33 lines (31 loc) · 1.27 KB
/
play.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
<!DOCTYPE html>
<html>
<head>
<title>rdioUtils.albumWidget() Example</title>
<link rel="stylesheet" type="text/css" href="lib/normalize.css">
<link rel="stylesheet" type="text/css" href="lib/rdio-utils/rdio-utils.css">
<link rel="stylesheet/less" type="text/css" href="main.less">
<!-- Register your app at http://www.rdio.com/developers/create/ and replace client_id below with yours -->
<!--
<script src="https://www.rdio.com/api/api.js?client_id=idniu4ntlzdrfdknocpctjhgsi"></script>
-->
<!-- for localhost -->
<script src="https://www.rdio.com/api/api.js?client_id=eyel7ji5qrfq7bd2hei6klm5ee"></script>
<!-- for github version
<script src="https://www.rdio.com/api/api.js?client_id=jzaljpx3erchrjq463st5csbgu"></script>
-->
<script src="lib/jquery-1.9.1.min.js"></script>
<script src="lib/underscore-1.4.4.min.js"></script>
<script src="lib/less-1.3.0.min.js"></script>
<script src="lib/rdio-utils/rdio-utils.js"></script>
<!--
<script src="play.js"></script>
-->
</head>
<body>
<div class="log"></div>
<h2>play a song by Rdio track key</h2>
<p> Honeymoon - Lana Del Rey (t69204225)</p>
<input type=button onClick="R.player.play({source: 't69204225'});" value="play song">
</body>
</html>