O'Reilly logo

Dynamic HTML: The Definitive Reference by Danny Goodman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

EMBED — NN 3 IE 4 DOM n/a

Synopsis

The EMBED object reflects the EMBED element. This object is treated differently in Navigator and Internet Explorer. In Navigator, the object exposes the properties and methods of the plugin that plays the media loaded into the EMBED element. As a result, the precise set of properties and methods varies with the plugin being used for the multimedia content (and is not shown in the lists below). Access to the object is via the element’s name. IE, on the other hand, is more straightforward in its treatment of the object as just another element with its unique set of properties and methods (listed below). This means, however, that IE cannot control the plugin through scripting as Navigator can.

HTML Equivalent

<EMBED>

Object Model Reference

NN

[window.]document. elementName

IE

[window.]document.all. elementID

[window.]document.embeds(i)

Properties

accessKey

hidden

name

outerText

src

className

id

offsetHeight

palette

style

clientHeight

innerHTML

offsetLeft

parentElement

tabIndex

clientLeft

innerText

offsetParent

parentTextEdit

tagName

clientTop

isTextEdit

offsetTop

pluginspage

title

clientWidth

lang

offsetWidth

readyState

units

document

language

outerHTML

sourceIndex

 

Methods

blur( )

getAttribute( )

removeAttribute( )

click( )

insertAdjacentHTML( )

scrollIntoView( )

contains( )

insertAdjacentText( )

setAttribute( )

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required