Multimedia in DITA topics

The object element is used to embed multimedia in DITA topics.

Multimedia objects such as Flash animations, Java applets, and video files can be included in DITA content using the object element. Obviously, when a topic which includes multimedia is output to paper, the object cannot be properly rendered. You may want to use conditional processing so that multimedia objects are only output to online delivery formats.

The DITA object element is based on the HTML object element, but with a smaller set of valid attributes. If your DITA authoring tool does not provide good support for embedding objects, you can alternatively use a Web authoring tool to place the object in an HTML page, and then copy the HTML object code into your DITA topic.

An example of the DITA code to place a Flash animation in a topic is:
<object id="anim_ej25" data="../images/ej25.swf"
	  type="application/x-shockwave-flash" width="350" height="100"> 
		<param name="movie" value="../images/ej25.swf"/> 
		<param name="quality" value="high"/> 
Attributes for the DITA object element that are common to the HTML object element are: