Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Attribute for <EMBED ...>
CONTROLS = VOLUMELEVER | STOPBUTTON | PAUSEBUTTON | PLAYBUTTON | SMALLCONSOLE | CONSOLE

CONTROLS is another Netscape-only extension (MSIE has a similar attribute called CONTROLLER) . CONTROLS indicates what type of controls should be displayed for the sound object. Each type of control is best used with different values for the HEIGHT and WIDTH attributes, so we'll list the best value here.There are six possible values for CONTROLS.

Value Description Height Width
CONSOLE The default control. The browser should display a full-sized full set of controls: a start button, a pause button, a stop button, and a volume control (aka the "volume lever").

<EMBED 
    SRC="../graphics/sounds/1812over.mid"
    HEIGHT=60 WIDTH=144
    CONTROLS=CONSOLE
    >

gives us

60 144
SMALLCONSOLE The browser should display a set of controls which takes up less space. The controls displayed are the start button, the stop button, and the volume lever. The pause button is not displayed. SMALLCONSOLE takes up less vertical space than CONSOLE but is just as wide.

<EMBED 
    SRC="../graphics/sounds/1812over.mid"
    HEIGHT=15 WIDTH=144
    CONTROLS=SMALLCONSOLE
    >

gives us

15 144
PLAYBUTTON Only show the play button.

<EMBED 
    SRC="../graphics/sounds/1812over.mid"
    HEIGHT=23 WIDTH=35
    CONTROLS=PLAYBUTTON
    >

gives us

This value is usually used in conjunction with the MASTERSOUND attribute.

23 35
PAUSEBUTTON Only show the pause button.

<EMBED 
    SRC="../graphics/sounds/1812over.mid"
    HEIGHT=23 WIDTH=35
    CONTROLS=PAUSEBUTTON
    >

gives us

This value is usually used in conjunction with the MASTERSOUND attribute.

23 35
STOPBUTTON Only show the stop button.

<EMBED 
    SRC="../graphics/sounds/1812over.mid"
    HEIGHT=23 WIDTH=35
    CONTROLS=STOPBUTTON
    >

gives us

This value is usually used in conjunction with the MASTERSOUND attribute.

23 35
VOLUMELEVER Only show the volume lever.

<EMBED 
    SRC="../graphics/sounds/1812over.mid"
    HEIGHT=20 WIDTH=74
    CONTROLS=VOLUMELEVER
    >

gives us

This value is usually used in conjunction with the MASTERSOUND attribute.

20 74

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire