From 89ea26cf94e4dbd4109699f63488c0c173bbb2e8 Mon Sep 17 00:00:00 2001 From: stevenaw Date: Wed, 26 Jan 2011 16:26:33 -0500 Subject: [PATCH] Document API Key Option --- plugins/lastfm/popcorn.lastfm.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/plugins/lastfm/popcorn.lastfm.js b/plugins/lastfm/popcorn.lastfm.js index fb54577..d7a095d 100644 --- a/plugins/lastfm/popcorn.lastfm.js +++ b/plugins/lastfm/popcorn.lastfm.js @@ -12,18 +12,20 @@ var lastFMcallback; * Artist is the name of who's LastFM information you wish to show * Target is the id of the document element that the images are * appended to, this target element must exist on the DOM + * ApiKey is the API key registered with LastFM for use with their API * * @param {Object} options * * Example: var p = Popcorn('#video') .lastfm({ - start: 5, // seconds, mandatory - end: 15, // seconds, mandatory - artist: 'yacht', // mandatory - target: 'lastfmdiv' // mandatory + start: 5, // seconds, mandatory + end: 15, // seconds, mandatory + artist: 'yacht', // mandatory + target: 'lastfmdiv', // mandatory + apikey: '1234567890abcdef1234567890abcdef' // mandatory } ) - * + *9268727cb4526b3d */ Popcorn.plugin( "lastfm" , (function(){ -- 2.43.0