Client is requesting a single track to be heard across the website. Generally I advise against it, but they insist. So, what is the most straightforward way of having a flash player embedded in a site, and when a user goes to another page there isn’t a gap/interruption?
I am thinking an iframe is required.. I am using a flash player that has autoresume, but that only solves picking up where you last left off on the song before going to another page. I tried searching SO for an answer..
If you want it totally uninterrupted, you’ll have to embed the whole site in an iframe, or load pages via Ajax.
If you can tolerate a pause in the music, what you could do is modify your Flash music player to keep a cookie with the current position in the song and when it loads checks for the cookie and resumes playing at that place.
Both are kind of ugly hacks, but so is forcing the user to listen to music.