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

MyWikiBiz, Author Your Legacy — Wednesday November 13, 2024
Jump to navigationJump to search
 
Line 2: Line 2:
 
==Description==
 
==Description==
  
You can display a block of images within '''[[Centiare:Spaces#Directory_Space|Directory]]''' listings.
+
You can play music from [http://www.last.fm last.fm] within '''[[Centiare:Spaces#Directory_Space|Directory]]''' listings.
  
To use, just enter the appropriate image location information and descriptive text within the <nowiki><gallery> ... </gallery></nowiki> tags on the page(s) you want the images to appear.
+
Just find your song and get the entire code string. Then, embed the code within the <nowiki><embed> ... </embed></nowiki> tags on your page.
  
 
==Code==
 
==Code==
Line 10: Line 10:
  
 
<pre>
 
<pre>
<gallery>
+
<embed>
image:BIG-Images_window_graphic_wip_01.jpg|Window graphic in production
+
<object width="340" height="123"><param name="movie" value="http://static.last.fm/webclient/37/defaultEmbedPlayer.swf" />
image:BIG-Images_banner_wip_01.jpg|10' wide banner in production
+
<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" />
</gallery>
+
<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>
 +
 
 
</pre>
 
</pre>
  
 
In action:
 
In action:
  
<gallery>
+
<embed>
image:BIG-Images_window_graphic_wip_01.jpg|Window graphic in production
+
<object width="340" height="123"><param name="movie" value="http://static.last.fm/webclient/37/defaultEmbedPlayer.swf" />
image:BIG-Images_banner_wip_01.jpg|10' wide banner in production
+
<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" />
</gallery>
+
<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>
  
 
[[Page Of::Centiare:Extensions]]
 
[[Page Of::Centiare:Extensions]]
 
[[Extension Name:=Last.fm Player]]
 
[[Extension Name:=Last.fm Player]]
 
[[Category:Centiare Extensions]]
 
[[Category:Centiare Extensions]]

Revision as of 16:29, 27 March 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