Hi People:
First of all, sorry about my English…
Until the Aj team release the official player to share our work with the world more easily, I want to share with the community a little mp3 player with xml integration that I made ( however some of the code it’s based on this tutorial ) so with this you can publish your work on your own blog, like wordpress, tumblr or even your web page.
It’s not perfect, sorry, flash programming is not my strong side, but I think it could be useful for most people. Besides my idea is share this like an “open source” project, so all community could make this a much better thing.
So this is how it looks on my tumblr blog:
It has a play and stop button (the music start as soon as the player loads automatically), also it shows the song name, the author’s name and it has a “buy now” button, so if someone click on that button he/she will be redirected to the song on AJ. These data is xml driven so you just have to change 1 line to customize this for your files.
The xml looks like this
<xml encoding="UTF-8" version="1.0">
<songs>
<song user="SonicByte" name="Mystic Dance" source="http://audiojungle.net/item/mystic-dance/95934" file="http://s3.envato.com/files/305545/preview.mp3" />
</songs>
</xml>
So you only have to change the following in the XML file to customize the player.
First, “name” is the title of your song, the “file” is the url that uses the “buy now” button to link to the file you are selling, the “source” is for your watermarked preview and the “user” to show your Aj user in the player.
The only “problem” is you must have Adobe Flash in order to change the XML ’s url in the source .fla so the player could read all those values.
But if you have the chance to do it then it’s very simple to spread your work across the web, for instance, to promote one of my tracks on any blog or page I just have to paste a code like this:
<object height="75" width="420">
<param name="movie" allowscriptaccess="always" value="http://www.sonicbyte.com/proyectos/aj/mysticdance/aj_mysticdance.swf" wmode="transparent" />
<embed src="http://www.sonicbyte.com/proyectos/aj/mysticdance/aj_mysticdance.swf" height="75" width="420" wmode="transparent" allowScriptAccess="always"
</object>
But first things first, I want to know if is not a problem to show the AJ logo on the player, please moderators, let me know if I could share this as is, or I must remove the logo (is not a problem for me, I just think it looks more cool)...
Si if moderators says it’s not a problem, I then will publish here the source and a live sample, and more detailed instructions on how to use it.
thanks !
Rodrigo
PS: Also if you don’t have a hosting to store the player, you can use google pages, it’s free… a tutorial here




Keep up the good work!