Difference between revisions of "Help:Extensions/Last.fm Player"
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{DISPLAYTITLE:Last.fm Player}} | |
==Description== | ==Description== | ||
− | You can | + | 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. | |
==Code== | ==Code== | ||
Line 10: | Line 10: | ||
<pre> | <pre> | ||
− | < | + | <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> | ||
+ | |||
</pre> | </pre> | ||
In action: | 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> | ||
− | [[Page Of:: | + | [[Page Of::Help:Extensions]] |
[[Extension Name:=Last.fm Player]] | [[Extension Name:=Last.fm Player]] | ||
− | [[Category: | + | [[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