/hyped

Display your latest loved songs from The Hype Machine (hypem.com).

Primary LanguageCSS

Hyped

Bitdeli Badge

Easily display your most recent loved songs from The Hype Machine - hypem.com.

Click here to see a demo.

Screenshot

Installation

via Bower

$ bower install hyped

Manually

Make sure to include both jQuery and jquery.hyped.js.

<script src="path.to.jQuery"></script>
<script src="path.to.jquery.hyped.js"></script>

Options

  • username : string Your Hypem username - Required
  • count : 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 px
    • medium : 120x120 px
    • large : 320x320 px
  • linked : boolean Wrap song info in a clickable link - Default : false
  • loveCount : boolean Display track love count - Default : false

Example

HTML

<div class="hyped">
	// Optional loading message / spinner
	<div class="loading"></div>
</div>

JavaScript

$(".hyped").hyped({
	username : "stursby",
	linked : true,
  	count : 5,
  	loveCount : true
});

License

Hyped is licensed MIT


Copyright (c) 2013 Charlie Hield