Jump to content

[SOLVED] Using PHP to play a song???


webmaster1

Recommended Posts

I know how to embed a music file when a page loads.

 

Is their any way using php that I can play the song uninterupted when the user navigates the site. I'm guessing I might be able to choose what element of the page I don't want reloaded using the include command perhaps?

 

As it stands the the song restarts every time a new page is loaded.

Link to comment
Share on other sites

The only solution I can think of would be to use (ick!) frames. Have the site load in a parent document that loads two frames - one for the music to play in and one for the content.

 

 

lol thats what i did on the very first site i built the music frame had no size at all.

Link to comment
Share on other sites

Simple answer, it would have to popup in a new window. That window would play the song un-interrupted while the user browses. Better yet, they can even close the window if it gets annoying to them!

 

I actually used this solution on my first webpage... then I grew up and decided I don't actually want midi music on my site... :P

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.