I think del.icio.us has a great solution for a simple and easy mp3-play-button. Check http://del.icio.us/popular/system:filetype:mp3
I had a brief look at the css and js files and I think it should be relatively to create plugin for WordPress.
I can imagine that it could work like this:
– you add an mp3-link to your post
– enclose the links with li-tags and specify a mp3-butt class (class=”mp3-butt”)
I never wrote a plugin for WordPress although I hacked a few a bit (for xhtml compliancy for example). Maybe working with a few people on this plugin would help.
Let me know if you are interested.
Oh and btw: it should be 100% xhtml compliant of course!
yes, it’s great idea, and i think this plugin : http://blog.taragana.com/index.php/archive/taraganas-delicious-mp3-player-wordpress-plugin/
has already realized this function
I dislike how the play button expands and pushes content to the right. I also dislike the “tag this” link.
For my part, I use iFrames. (Yes, my code validates as XHTML 1.0 Transitional.) I place the following code somewhere in the index file (out of the loop, so that it doesn’t appear more than once):
[iframe name=”songrequested” src=”http://www.duskyspad.com/media/mute.mp3″ scrolling=”no” height=”0px” width=”0px”][/iframe]
Then, I set my MP3 links like this:
[a href=”http://www.yourdomain.com/nameofclip.mp3″ target=”songrequested”]Audio Clip[/a]
Oh, as you probably noticed from the code… the iframe originally loads an mp3 file that has no sound. I call on this file when users want to kill the music. It looks something like this:
[a href=”http://www.yourdomain.com/mute.mp3″ target=”songrequested”]Music Off[/a]
You can see it all in action here (once you load the page, search for instances of “mp3”):
I can easily change the links so that they display a play button instead of the text “MP3: Listen/Escuchar,” but I think Google favors my site more if I stick with text.
- The topic ‘mp3 playbutton, the ‘mp3-butt’’ is closed to new replies.