| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Root Ninja
Join Date: Jun 2008
Posts: 56
|
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! |
|
|
|
|
|
#2 (permalink) |
|
Everything is fine.
|
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. |
|
![]() |