How do I add a sound to a frameset so that when the page loads the songs plays throughout my website without interruption.
assumning you are using a frameset to have one frame stay present (like a header), you could just put the background music in that header html page.
<bgsound src="XXX.au" loop="-1">
put the above in the head of the html (the -1 means forever). but bgsound only works in IE. I think you can use embed in NS. and put both in for both (I think).
Shouldn't the loop be "infinite" instead of "-1". I would think that -1 would keep it from playing. I KNOW infinite works.
Dave, I went to that site with the sound in a pop of window but the window kept refreshing and acting weird and stuff.
As bgsound is an MS specific thing, I go by what MS wants. Front Page generates a -1 for play forever. So yes, it works.
Worked great in IE6. In NS7 the jukebox says "no support" and does not work.
seems to me that you are asking if the LiveAudio plugin is already available. unless it has already been loaded i would think this would fail on most NS implementations. you probably have it loaded on your V4 and not on your 6. and i sure don't have it loaded on my NS7. the plugin may work fine in NS7 - i just don't have it.
i am sure i have seen a test for a plugin and if not there will download it (if the user accepts). not sure where i saw that example.
i think it is codebase="http: . . . ", then if the plugin is not present it will attempt to download.
the above is for the object tag
for the embed tag it is
One of the frame pages will stay open to serve all the other frame pages. Usually that would be the contents frame, (The one with the menu.) So put your music in it. It should play until you leave the site.
Music can be a sudden shock to someone that doesn't expect it to be there. Especially if the volume is too high. It might be better to give a choice to turn it on/off.
I think embed is now compatible in both browsers, and is preferable to bgsound. If you use both, you should code embed first, or the sound may be distorted.
<EMBED SRC="startrk.mid" volume="50" LOOP="false" hidden="true" WIDTH="100" HEIGHT="40" autostart="true">
Last edited by jdavia; 12-30-2002 at 11:06 PM.
So what was the resolution of the jukebox "no support" issue? I am curious about that one. After all, it was your first question in 2 years.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)