java help
12-29-2002, 08:43 AM
How do I add a sound to a frameset so that when the page loads the songs plays throughout my website without interruption.
|
Click to See Complete Forum and Search --> : Music/Frameset java help 12-29-2002, 08:43 AM How do I add a sound to a frameset so that when the page loads the songs plays throughout my website without interruption. Beach Bum 12-29-2002, 04:30 PM 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). Zach Elfers 12-30-2002, 04:00 PM 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. java help 12-30-2002, 05:17 PM Thanks for responding Dave, I went ahead and viewed your website, thats exactly what I'm looking for, with the exception of me needing multiple songs, I just need one song for my site. I'm a beginner with javascript. I didn't realize how complicated the script would be to accomplish my goal. Beach Bum 12-30-2002, 05:23 PM Zach - 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. Beach Bum 12-30-2002, 08:59 PM Dave - Worked great in IE6. In NS7 the jukebox says "no support" and does not work. Beach Bum 12-30-2002, 09:13 PM 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. Beach Bum 12-30-2002, 09:17 PM i think it is codebase="http: . . . ", then if the plugin is not present it will attempt to download. Beach Bum 12-30-2002, 09:18 PM wait - the above is for the object tag for the embed tag it is pluginspage= jdavia 12-30-2002, 10:01 PM (FRAME) 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. Note: 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. (MUSIC) 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. I use: <EMBED SRC="startrk.mid" volume="50" LOOP="false" hidden="true" WIDTH="100" HEIGHT="40" autostart="true"> Beach Bum 12-31-2002, 07:30 PM Dave - 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. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |