Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 93   Yesterday: 1,303   Max: 2,773   Total: 530,426   Current Users : 15 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

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. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2009 Broadband Media, Inc. All rights reserved.