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
https://forums.phpfreaks.com/topic/148673-solved-using-php-to-play-a-song/
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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.