Post subject: Playing background music in a webapp
Posted: Tue Oct 07, 2008 11:41 pm
Joined: Tue Oct 07, 2008 11:22 pm Posts: 2
Hi,
Have been all over the internet trying to figure out how to get and keep music playing continuously in the background of a web application while navigating from page to page. It is clear to use the <object> and <embed> tags in the html for a specific page but as soon as I navigate away from that page the music stops. I can of course invoke the same tags for every page but the music stops and restarts anew each time I navigate to a new page instead of continous play.
I'm starting to think this is not possible to do. Can anyone help?
Joined: Thu Jan 25, 2007 2:10 pm Posts: 691 Location: Midlands, England
There are two ways that spring to mind, both of which are not perfect but would work.
1. Use a frameset, with two frames one of them hidden. Have the music embedded in the hidden frame and load the rest of the content in the main frame. So when you change page only the main frame changes and the hidden frame continues to play.
2. Use javascript/ajax to load the page dynamicaly
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum