Easily display your most recent loved songs from The Hype Machine - hypem.com.
Click here to see a demo.
via Bower
$ bower install hyped
Make sure to include both jQuery
and jquery.hyped.js
.
<script src="path.to.jQuery"></script>
<script src="path.to.jquery.hyped.js"></script>
username
:string
Your Hypem username - Requiredcount
:integer
Number of songs to return - Default:5
artwork
:boolean
Display album artwork - Default :true
thumbSize
:string
What size album artwork to show - Default :medium
small
: 50x50 pxmedium
: 120x120 pxlarge
: 320x320 px
linked
:boolean
Wrap song info in a clickable link - Default :false
loveCount
:boolean
Display track love count - Default :false
HTML
<div class="hyped">
// Optional loading message / spinner
<div class="loading"></div>
</div>
JavaScript
$(".hyped").hyped({
username : "stursby",
linked : true,
count : 5,
loveCount : true
});
Hyped is licensed MIT
Copyright (c) 2013 Charlie Hield