mediaobject — A displayed media object (video, audio, image, etc.)
This element contains a set of alternative
“media objects.” In DocBook V3.1, three types of
external objects are defined: VideoObject
s,
AudioObject
s, and ImageObject
s. Additional
textual descriptions may be provided with TextObject
s.
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.
These elements contain mediaobject
: annotation
, answer
, appendix
, article
, bibliodiv
, biblioentry
, bibliography
, bibliolist
, bibliomixed
, bibliomset
, biblioset
, blockquote
, callout
, calloutlist
, caption
(db.caption), caution
, chapter
, colophon
, constraintdef
, dedication
, entry
, equation
, example
, figure
, footnote
, glossary
, glossdef
, glossdiv
, glosslist
, html:fieldset
, html:form
, important
, index
, indexdiv
, info
(db.info), info
(db.titleforbidden.info), info
(db.titleonly.info), info
(db.titleonlyreq.info), info
(db.titlereq.info), informalequation
, informalexample
, informalfigure
, informaltable
(db.cals.informaltable), inlineequation
, itemizedlist
, legalnotice
, listitem
, msgexplan
, msgtext
, note
, orderedlist
, para
, partintro
, preface
, procedure
, qandadiv
, qandaset
, question
, refsect1
, refsect2
, refsect3
, refsection
, refsynopsisdiv
, revdescription
, screenshot
, sect1
, sect2
, sect3
, sect4
, sect5
, section
, setindex
, sidebar
, simplesect
, step
, table
(db.cals.table), taskprerequisites
, taskrelated
, tasksummary
, td
, textobject
, th
, tip
, toc
, tocdiv
, variablelist
, warning
.
The following elements occur in mediaobject: alt
, audioobject
, caption
(db.caption), imageobject
, imageobjectco
, info
(db.titleforbidden.info), textobject
, videoobject
.
<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>