Audio Popup?

Hi,

I was wondering if I can get some feedback on the best solution to tackling this next obstacle i’ve come too.

I am building a site with HTML, PHP, Javascript & some flash.
The website has a theme to it that I want to add an ambiance background music too.

This music will be controlled by a flash file on the website.

I have come up with these two possible ideas to tackle this:

  1. Create a javascript popup that the actual music player will be in, although hidden to the user. The flash file will communicate with the audio player allowing the user to turn the volume up and down as needed.
    With this method the music will play seamlessly throughout the site, and it could shut off as the user leaves the website to a different page.
    Although I am afraid that if a user blocks popups it will make the website look unprofessional & the user will lose the functionality.

  2. I could have the actual audio in the flash file, and have the HTML buttons communicate to the flash file onclick, so when the user clicks the buttons the flash audio can fade out and then continue the link to the destination.
    Although, I am going to lose the luxury of the seamless audio also risking choppiness and annoying the user.

I was just hoping to get some feedback from other people, and what their thoughts are on the matter. Possibly even a better idea or??