Started building out the plugin

This commit is contained in:
Joshua Sherman 2014-02-25 12:38:25 -05:00
parent 397184c7ad
commit cfdb083a81
2 changed files with 75 additions and 0 deletions

17
example.html Normal file
View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<title>jQuery SoundCloud Plugin</title>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="./jquery.soundcloud.js" charset="utf-8"></script>
<script>
$(function()
{
$('.soundcloud').soundcloud({ client_id: 'b0d6766e74d8b02f74459447c186b12e' });
});
</script>
</head>
<body>
<div class="soundcloud" data-url="https://soundcloud.com/joshtronic/baby-got-back/s-IGDdX" data-auto_play="true"></div>
</body>
</html>