There are a few other controls too that you may find useful, see this page at WebRefernce.com http://www.webreference.com/js/column20/embed.html
Peter Kaulback
In the hour of 11:53 AM 11/10/2003, Harold B spoke this:
Hello again,
Problem of controlling a wav file on a webpage has been solved, thanks to many in the group. I'm posting various methods of putting sound files on a webpage. Hugh points out that these variations can be found at ... http://www.mountaindragon.com/html/
Again, they should be pasted between the <HEAD></HEAD> tags (in the "head" tag).
1. This is a medium size black console; no autostart; volume default set at 50%...
<EMBED ALIGN="CENTER" SRC="location and name of file" HEIGHT="60" WIDTH="145" AUTOSTART="FALSE" VOLUME="50%" MASTERSOUND ></EMBED>
2. This is a small size black console; no autostart; volume default set at 50%...
<EMBED ALIGN="CENTER" SRC="location and name of file" HEIGHT="15" WIDTH="145" AUTOSTART="FALSE" CONTROLS=SMALLCONSOLE VOLUME="50%" MASTERSOUND></EMBED>
3. Here the console is invisible with autostart...
<EMBED SRC="location and name of file" HEIGHT="0" WIDTH="0" AUTOSTART="TRUE"></EMBED>
4. This is the same as #3 ... I've seen it called an "Infinite Loop" with a hidden console; sound control is what is on viewer's computer. Maybe someone in the group can explain what the essential difference is between this and #3 (they both do the same thing)
<EMBED SRC="location and name of file" HIDDEN="TRUE" AUTOSTART="TRUE" MASTERSOUND></EMBED>
5. Called a "meta refresh tag" (maybe someone can explain that term). Here the console, supported by the viewer's computer, shows up OFF the browser and I think would continue playing (at the viewer's option) as long as links continue within the directory of the page where this tag is posted...
<META HTTP-EQUIV="REFRESH"; CONTENT="1; url=location and name of file">
Note that in the above tag, the 1 has a quote only in front of it, and the location does NOT start with a quote.
Re Roger's suggestion for giving the reader more control over a wav file on a webpage ... "There are a couple of ways. One is to tag it as no hidden, eg. hidden=false. The other is that one can just hit the escape key and it will turn it off or one can access the speaker icon in the tray and mute it. When you tag it hidden=false, it will put up an icon that one can click and turn it on or off." ... I'll be looking into his suggestion (looks interesting). Muting it was my original way but I wanted it to look (what do the kids say? "kewl"?). We in PCWorks are definitely "kewl" ... Harold
============= PCWorks Mailing List ================= Don't see your post? Check our posting guidelines & make sure you've followed proper posting procedures, http://pcworkers.com/rules.htm Contact list owner <[EMAIL PROTECTED]> Unsubscribing and other changes: http://pcworkers.com =====================================================
