object and embed tags revealed

This is the second part of my post:

html object and embed tags

where you can find why there are two tags instead of one … and when and how to use them. 

Now I’m gonna explain what’s more interesting about their well documented attributes.

classid shows the type of the ActiveX controls and it should be strict defined. In that sense the flash movie should be with the classid specified above:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ...

of course other classid is used when using other ActiveX controls, like Java applets, i.e.:

<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ...

More interesting are the codebase for <object> and pluginspage for <ebmed> tags. The show where the plugin for the flash player can be found and respectively downloaded, in case the visitor does not have one.

Less known attribute is ‘quality’. In almost every example the quality is set to high. Like

<param name="quality" value="high" />

but most of the web developers does not know that there is a autolow or autohigh property value.

<param name="quality" value="autolow" />

The last thing I’d like to write is the wmode attribute. Often the flash movie is with transparent background and does not displays correctly without the:

<param name="wmode" value="transparent" />

parameter. In IE 6 there is another problem. If wmode is not set to transparent, elements with z-index more than the flash movie does not appear over it.

There are a lot of resources online about these tags, and someone can be interested in how using <object> to display a PNG transparency or something else.

see more on: http://www.stoimen.com/blog/2009/02/22/html-object-and-embed-tags/

3 thoughts on “object and embed tags revealed

  1. How easy is to write object tag after reading this post. I’ve always used prepared generation provided with some software.

    Thanx and keep writing.

  2. I didn’t know that object tag is in such relationship with the Internet Explorer?! However if there is any problems with the IE I always look at the object tag.

    Greetings

Leave a Reply

Your email address will not be published. Required fields are marked *