Embed.units (Property)

The unit of measure for the height and width of the plugin extent rectangle.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyEmbed.units

This value appears to be derived from the measurement units used in style sheets.

However, it does not appear to work at all and has no observable effect on the browsers. There are several possible values for this, but they are not supported uniformly across all browsers and platforms. This may be better supported in the future.

The best solution for now is to omit this attribute and always measure <EMBED> tag objects in pixels.

The following values are allegedly available: