Questions answered by this recipe
The Delicious playtagger [originally maintained by Delicious.com] was and still is a very simple way to embed mp3's into a webpage so that they're instantly playable. This code as been updated so that the playtagger will still work, even though Delicious no longer supports it.
*Please note that the playtagger still works!*
By adding this recipe and the accompanying files to your PmWiki installation, any regular link to an mp3 will automatically appear with a blue play-/stop-button preceding it. These buttons can also be re-designed to your liking using a program like Gimp, Inkscape, Photoshop, or Illustrator.
Working Example / Demo
Note: For those who may have been using the first version of this recipe (prior to 2012-04-04), you will need to clear out any old playtagger files (except any custom play and stop buttons you made), and then install the following files.
/pmwiki/pub/playtagger_mod/ -> play.gif -> stop.gif -> playtagger.swf
3. the following code should then be included in your PmWiki
## DELICIOUS PLAYTAGGER $PubDirUrl = "http://YOURDOMAIN.COM/pmwiki/pub"; include_once("$FarmD/cookbook/playtagger.modified.php");
After adding this code, any link to an mp3 will automatically appear with a blue-play-button preceding it. Any of the following bits of code will be transformed:
Special thanks to Improbulus (http://www.consumingexperience.com/2005/11/playing-mp3s-on-your-blog-beginners.html) who's original code wrested the playtagger from the cold dying grip of Delicious.com...
... And thanks to Barrett Golding (BG) who fixed Improbulus's code in 2011: http://hearingvoices.com/news/2011/10/playtagger-mod/
See discussion at DeliciousPlaytagger-Talk