Log in

View Full Version : How do I make my page refresh after embed music stops?



thinandpale
08-28-2006, 09:59 PM
On my web site, I have random bgsound tags set up to play each time the page refreshes. At the moment, I set all of their loops to TRUE.

Not sure if what I need help with is HTML or something else, but what I want to do is set each embed music file to refresh the page after it's done playing, so a different random song file starts playing again.

The random music files are set up with Java Script, but the music is set up with HTML

I know how to refresh a page using meta and body tags, and even using Java Script, but how I have my random music files set up I can't use any of those methods. Is there a away around this?

Is there a simple HTML music tag I can use to make the page refresh when the file is done playing?

naeem
08-29-2006, 04:45 AM
I have the script of Java Script , which refresh the age after 1 min. u can add this script in ur page
naeem

ItsMeOnly
08-29-2006, 10:05 AM
I'd suggest a small controlless flash player, because it can call back the browser in unified way across all the platforms (it can even issue a javascript expression back to the browser, like location.href, which is your friend here).

Technically you can embed a sound file, yet you'd need to account all possible plug-ins, which all have their own methods of calling back the browser (if at all) after playing content.

queerfm
08-29-2006, 11:17 AM
i would just make you sound file loop this is the easyest and maby one of the less painful for viewers.

If yuo need the loop code ill post it here i have it somewhere but where i don't know