jQuery Plugin For Displaying Scrobbled Songs On Last.fm - tunez
File Size: | 41.6KB |
---|---|
Views Total: | 575 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |
tunez is a lightweight and easy-to-use jQuery plugin for displaying a specified user’s recently scrobbled songs on Last.fm using Last.fm API key.
See also:
- Fetch and Display Lastfm Recent Tracks Plugin for jQuery - lastfm
- jQuery Plugin For Displaying Last.fm Information - JamCity
Basic Usage:
1. Load the jQuery javascript and jQuery tunez at the bottom of the web page
<script src="http://code.jquery.com/jquery-latest.min.js"></script> <script src="../src/tunez.js"></script>
2. Create a container where you want to display the list of an user’s recently scrobbled tracks
<div class="tunez">Loading...</div>
3. Get a API key from Last.fm and insert it into the javascript.
<script> $('.tunez').tunez({ key: '1e2fbabb102c1fa0760379b9ef6f9ecc', // last.fm api key username: 'michaelynch', // user name limit: 5, // the max number of traces href: true, // whether or not the song and artist should be links ordered: true, // whether or not the list of songs should be ordered album: true, // whether or not you want the album name shown artwork: true // whether or not the album artwork is displayed }); </script>
This awesome jQuery plugin is developed by michael-lynch. For more Advanced Usages, please check the demo page or visit the official website.