Text Links Ads : Marketing Tips Store : Search Engine Optimization Strategies
WebPosition Gold Pro : Domain Registration Bank : Optilink Software : GoDefy
Mike's Marketing Tools : Mike's Ecommerce Software : Text Links Guide
 
Web HTML-HTML.com
You are here: HTML Codes > Embedded Objects > <EMBED ...>

Attribute for <EMBED ...>
MASTERSOUND

Usage Recommendation
Only use this attribute if you also use the NAME attribute and the embedded object is a sound

MASTERSOUND, which only works with Netscape, is required if you are embedding a sound and if you use the NAME attribute.

MASTERSOUND is also for the unusual situation where you would like to spread the controls for a single sound around different places on the page. MASTERSOUND allows several <EMBED ...>'s to control a single sound. This is usually done in conjunction with the CONTROLS attribute so that one object displays the volume control, another the start button, another the pause button, etc.

Consider the situation where we want to have the play button, pause button, stop button and volume lever all in different cells of a table, but they all control one sound. We could do this with the following (lengthy) code:

<TABLE BGCOLOR=RED BORDER>
<TR ALIGN=CENTER>
<TD><EMBED 
 SRC="../graphics/sounds/1812over.mid"
NAME="SoundGroup"
 WIDTH=34 HEIGHT=23
CONTROLS=PLAYBUTTON
 MASTERSOUND
 ><BR>Play</TD>
<TD><EMBED 
 SRC="stub1.mid" 
NAME="SoundGroup"
 WIDTH=34 HEIGHT=23
CONTROLS=PAUSEBUTTON
 ><BR>Pause</TD>
<TD><EMBED 
 SRC="stub2.mid" 
NAME="SoundGroup"
 WIDTH=34 HEIGHT=23
CONTROLS=STOPBUTTON
 ><BR>Stop</TD>
<TR ALIGN=CENTER>
<TD COLSPAN=3 ALIGN=CENTER><EMBED 
 SRC="stub3.mid" 
NAME="SoundGroup"
 WIDTH=74 HEIGHT=20
CONTROLS=VOLUMELEVER
 ><BR>Volume</TD>
</TR>
</TABLE>

This would create this set of sound controls:


Play

Pause

Stop

Volume

notice several things about using MASTERSOUND:

The use of MASTERSOUND as a multi-control interface has been a confusing addition to HTML, but to make matters worse it doesn't even work very well in Netscape. there have been consistent problems with the controls appearing not as buttons or sliders but as empty gray boxes. Microsoft has not seen fit to waste its time copying Netscape's MASTERSOUND.

<EMBED STARTTIME="..."> >>>

Copyright © 2002-8 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA.
www.HTML-HTML.com