From: stevenaw Date: Wed, 26 Jan 2011 21:26:33 +0000 (-0500) Subject: Document API Key Option X-Git-Tag: v0.3~16^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=89ea26cf94e4dbd4109699f63488c0c173bbb2e8;p=popcorn-js.git Document API Key Option --- 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(){