Javascript Reference
Categories: EMBED

javascript EMBED Description

@March 15, 2008, 1:22 a.m.
embedFirefox/Netscape/NN 3 IE 4 Chrome/Safari/DOM n/a  

  

The embed object reflects the embed element. Although the embed object is losing favor to the object element in recent browser generations, scripts in browsers such as Navigator 3, Navigator 4, and IE 4/Windows can control media players that load into a page in response to the embed element's pointer to a media file on the server. Properties and methods exposed by the player pass through the embed object so that scripts treat the embed object as if its list of scriptable powers is extended. Properties listed here are the properties that the element object, rather than an external controller, exposes to scripts.

Note that IE 5 for the Macintosh treats the embed object more like the object object, and exposes properties more closely aligned with an object or applet than an embed object. It's of little consequence, however, because through Version 5.1, IE/Mac does not let scripts communicate with external players or controllers.

 
HTML Equivalent
 
<embed>
 
Object Model Reference
 
[window.]document.getElementById("elementID")
[window.]document.embeds[i]
 
Object-Specific Properties
 
alignheighthiddennamepalette
pluginspagesrctypeunitswidth
 
Object-Specific Methods

None.

 
Object-Specific Event Handler Properties

None.


Powered by Linode.