Old 07-06-2008, 17:47   #1 (permalink)
Root Ninja
Root Ninja
 
Root Ninja's Avatar
 
Join Date: Jun 2008
Posts: 56
Music Player

Hi all,

I am currently designing a website that stores and plays music files music. The website is using MYSQL, PHP, XHTML and CSS, with the music player using flash.

The site needs to show a list of music files, then with when selected the music player plays the selected track with the name of the track displayed.

The problem is that I need the music selected to keep playing throughout the site without interruption while maintaining the ability for the tracks to be changed.

Any suggestions are very welcome.

Ninja!
  Reply With Quote
Old 08-06-2008, 10:57   #2 (permalink)
MikeMackay
Everything is fine.
 
MikeMackay's Avatar
 
Join Date: Feb 2005
Location: Witham & London
Posts: 828
Send a message via MSN to MikeMackay Send a message via Skype™ to MikeMackay
I've only ever seen this done (that I can recall) by having the entire site presented in Flash, which can be overkill for some needs.

The issue, I'm guessing, that you've come across is that when the page changes or refreshes you're losing your music player data and the audio is being cut.

The only option that I can think of at the moment is to have the player in a pop-up window, although this isn't the best practice for usability reasons. But it would mean that you could use some JavaScript to "add" tracks to the flash player by targeting it's window. This would also allow the audio to continue playing regardless of it's parents window actions.

The other method which I totally advise against but will mention just to give you another avenue to explore is the use of frames.

Hope that helps a bit.
__________________
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8