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

MyWikiBiz, Author Your Legacy — Sunday November 24, 2024
Jump to navigationJump to search
 
Line 2: Line 2:
 
==Description==
 
==Description==
  
You can play music from [http://www.last.fm last.fm] 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.
  
 
Just find your song and get the entire code string. Then, embed the code within the <nowiki><embed> ... </embed></nowiki> tags on your page.
 
Just find your song and get the entire code string. Then, embed the code within the <nowiki><embed> ... </embed></nowiki> tags on your page.
Line 28: Line 28:
 
</embed>
 
</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