Difference between revisions of "Help:Extensions/Last.fm Player"

MyWikiBiz, Author Your Legacy — Monday November 11, 2024
Jump to navigationJump to search
({{DISPLAYTITLE}})
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:Last.fm Player}}
 
==Description==
 
==Description==
  

Revision as of 13:48, 4 June 2007

Description

You can play music from last.fm within Directory listings.

Just find your song and get the entire code string. Then, embed the code within the <embed> ... </embed> tags on your page.

Code

Here's an example:

<embed>
<object width="340" height="123"><param name="movie" value="http://static.last.fm/webclient/37/defaultEmbedPlayer.swf" />
<param name=FlashVars value="viral=true&lfmMode=playlist&resourceID=70457&resourceType=10&restTitle=Andy Roberts&albumArt=http://static.last.fm/coverart/130x130/3235881.jpg&labelName=AndyRoberts" />
<embed src="http://static.last.fm/webclient/37/defaultEmbedPlayer.swf" width="340" FlashVars="viral=true&lfmMode=playlist&resourceID=70457&resourceType=10&restTitle=Andy Roberts&albumArt=http://static.last.fm/coverart/130x130/3235881.jpg&labelName=AndyRoberts" height="123" type="application/x-shockwave-flash" />
</object>
</embed>

In action:

<embed> <object width="340" height="123"><param name="movie" value="http://static.last.fm/webclient/37/defaultEmbedPlayer.swf" /> <param name=FlashVars value="viral=true&lfmMode=playlist&resourceID=70457&resourceType=10&restTitle=Andy Roberts&albumArt=http://static.last.fm/coverart/130x130/3235881.jpg&labelName=AndyRoberts" /> <embed src="http://static.last.fm/webclient/37/defaultEmbedPlayer.swf" width="340" FlashVars="viral=true&lfmMode=playlist&resourceID=70457&resourceType=10&restTitle=Andy Roberts&albumArt=http://static.last.fm/coverart/130x130/3235881.jpg&labelName=AndyRoberts" height="123" type="application/x-shockwave-flash" /> </object> </embed>

Centiare:Extensions Last.fm Player