Control Flash Mp3 Player With Javascript AJAX and update mysql database

  • Posted:
  • Proposals: 1
  • Remote
  • #25906
  • Archived
Ben M. has already sent a proposal.
  • 0


Experience Level: Intermediate

I run an independent music site with no backing and have been going 6 years, a labour of love. Currently I have a flash mp3 player which loads into a new window, this is the only way I could get it to update the database (the mysql database update is not connected in any way to the player at present). Annoyingly in IE it takes 10 seconds to load a new window, with a javascript onClick function. Note this is the same sympton in other sites I've seen. Obviously most people won't hang around waiting and 50% use IE on the site.

The player and script will need to do the following.

1/ Remain on the same page.
2/ Load and play a particular song, from a link outside the player. This will be a javascript onClick containing the flashVars. Display the title and artist whilst playing.
3/ MOST ESSENTIAL - update the database incrementing the song play by one at the same time. I have the database scripts for this already only need to pass the id to the script.
4/ When they click on a new song, this should stop the old song and load and play the new one.
5/ The music should buffer, so it doesn't need to load the whole clip first. This will be quicker.
6/ If it's possible to make the song fade out at the end, without editing the 60 second sample.
7/ Load a whole album and play clip after clip (then send id of album play).

The current player is adapted from someone's open source code and done in FLEX by me. I could edit the look and manage to pass flashvars into it. I didn't understand the coding in any detail, it also doesn't buffer as flash introduced this feature after the design of the player. You may be able to adapt this player or may find that you need to write a whole new one or adapt an open source one available for use in a commercial way.

I've been told on forums that I need something they call an AJAX bridge you may be more familiar with this or know the solution.

Obviously this is a very specific job, please don't apply unless you have first hand experience of dynamically updating a database in this way. It has to update the database for every play and this is vital for the site, for charts and for artists stats. If it didn't need to be, then I could do it myself, but this is the major problem I can't solve, and kudos to anyone that can make it work.

I will show the accepted bidder an example of another service which does exatly what I need.

Look forward to your bids. Please include some examples of your work, specific to this project.


New Proposal

Create an account now and send a proposal now to get this job.

Sign up

Clarification Board Ask a Question

    There are no clarification messages.