Category:IT/Web/Programming > Flash & Interactive
ID:25906
Title:Control Flash Mp3 Player With Javascript AJAX and update mysql database
Location:Anywhere
Hi,
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.
Gavin
Type:Fixed Price
Budget:Not Specified
Attached Files: None
Bidding ends:Bidding Closed
Job Posted:27/05/2010 14:37
Bids:1
Who has Bid:
AnonymousStay safe: Read our safety guidelines before bidding
Bidding has ended for this project, the client has accepted the bid(s) below:
Accepted Bid #1Amount: $153 Fixed Fee
Country of Freelancer:
United Kingdom
Acceptance Reason: Hi Benjie,
Thanks for your bid and the details you've given.
The site is www.intomusic.co.uk and an example of what would be good is www.7digital.com
Let me know what you need and if you have any questions.
you con tact me directly at gavin@intomusic.co.uk.
Thanks,
Gavin
Estimated Start Date: Within 1 Business Day
If you are in doubt of the legitimacy of a Job and or Client, let us know by Reporting the Job.
For further support on preventing and reporting fraud please contact the UK’s National fraud reporting centre at http://www.actionfraud.org.uk/ or outside the UK Fraud Watchers at {fraudWatchers}