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

MyWikiBiz, Author Your Legacy — Friday November 22, 2024
Jump to navigationJump to search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:Last.fm Player}}
 
==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 '''[[Help: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::Help:Extensions]]
 
[[Extension Name:=Last.fm Player]]
 
[[Extension Name:=Last.fm Player]]
[[Category:Centiare Extensions]]
+
[[Category:MyWikiBiz Extensions]]

Latest revision as of 20:57, 26 December 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>

Help:Extensions Last.fm Player