mediaobject

mediaobject — A displayed media object (video, audio, image, etc.)

Synopsis

Content Model

mediaobject ::=

Description

This element contains a set of alternative “media objects.” In DocBook V3.1, three types of external objects are defined: VideoObjects, AudioObjects, and ImageObjects. Additional textual descriptions may be provided with TextObjects.

Processing expectations

Formatted as a displayed block.

The primary purpose of the MediaObject is to provide a wrapper around a set of alternative presentations of the same information.

If possible, the processing system should use the content of the first object within the MediaObject. If the first object cannot be used, the remaining objects should be considered in the order that they occur. A processor should use the first object that it can, although it is free to choose any of the remaining objects if the primary one cannot be used.

Under no circumstances should more than one object in a MediaObject be used or presented at the same time.

For example, a MediaObject might contain a video, a high resolution image, a low resolution image, a long text description, and a short text description. In a “high end” online system, the video is used. For print publishing, the high resolution image is used. For other online systems, either the high or low resolution image is used, possibly including the short text description as the online alternative. In a text-only environment, either the long or short text descriptions are used.

Children

The following elements occur in mediaobject: alt, audioobject, caption (db.caption), imageobject, imageobjectco, info (db.titleforbidden.info), textobject, videoobject.

See Also

audioobject, caption, imageobject, inlinemediaobject, textobject, videoobject

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example mediaobject</title>

<mediaobject>
<imageobjectco>
<areaspec units="calspair">
  <areaset xml:id="oneway">
    <area xml:id="oneway1" coords="300 400"/>
    <area xml:id="oneway2" coords="325 340"/>
  </areaset>
  <area xml:id="myhouse" coords="425 590"/>
</areaspec>
<imageobject>
<imagedata fileref="http://maps.example.com/EARTH?USA?MA?01007"/>
</imageobject>
</imageobjectco>
</mediaobject>

</article>

ChangeLog

This alpha reference page is $Revision: 1.4 $ published $Date: 2005/10/31 12:31:55 $.