| 1 | <refentry id="mediaobject.element" revision='3.1'> |
| 2 | <?dbhtml filename="mediaobject.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>mediaobject</secondary></indexterm> |
| 11 | <refentrytitle>mediaobject</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>mediaobject</refname> |
| 16 | <refpurpose>&mediaobject.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &mediaobject.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | This element contains a set of alternative |
| 24 | “media objects.” In DocBook V3.1, three types of |
| 25 | external objects are defined: <sgmltag>VideoObject</sgmltag>s, |
| 26 | <sgmltag>AudioObject</sgmltag>s, and <sgmltag>ImageObject</sgmltag>s. Additional |
| 27 | textual descriptions may be provided with <sgmltag>TextObject</sgmltag>s. |
| 28 | </para> |
| 29 | |
| 30 | <refsect2 id="dbreproc.mediaobject"><title>Processing expectations</title> |
| 31 | <para> |
| 32 | &format.block; |
| 33 | </para> |
| 34 | |
| 35 | <para> |
| 36 | The primary purpose of the <sgmltag>MediaObject</sgmltag> is to provide |
| 37 | a wrapper around a set of alternative presentations of the same |
| 38 | information. |
| 39 | </para> |
| 40 | <para> |
| 41 | If possible, the processing system should use the content of the |
| 42 | first object within the <sgmltag>MediaObject</sgmltag>. If the first |
| 43 | object cannot be used, the remaining objects should be |
| 44 | considered in the order that they occur. A processor should use |
| 45 | the first object that it can, although it is free to choose any |
| 46 | of the remaining objects if the primary one cannot be used. |
| 47 | </para> |
| 48 | <para> |
| 49 | Under no circumstances should more than one object in a |
| 50 | <sgmltag>MediaObject</sgmltag> be used or presented at the same time. |
| 51 | </para> |
| 52 | <para> |
| 53 | For example, a <sgmltag>MediaObject</sgmltag> might contain a video, a high |
| 54 | resolution image, a low resolution image, a long text description, and |
| 55 | a short text description. In a “high end” online system, |
| 56 | the video is used. For print publishing, the high resolution image is used. |
| 57 | For other online systems, either the high or low resolution image is used, |
| 58 | possibly including the short text description as the online alternative. |
| 59 | In a text-only environment, either the long or short text descriptions are |
| 60 | used. |
| 61 | </para> |
| 62 | </refsect2> |
| 63 | |
| 64 | <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title> |
| 65 | <para> |
| 66 | <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V5.0</acronym></secondary> |
| 67 | </indexterm> |
| 68 | In DocBook V5.0, <sgmltag>MediaObject</sgmltag> will replace |
| 69 | <sgmltag>Graphic</sgmltag>. |
| 70 | </para> |
| 71 | </refsect2> |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | &mediaobject.parents.gen; |
| 77 | &mediaobject.children.gen; |
| 78 | </refsect1> |
| 79 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 80 | &mediaobject.seealso.gen; |
| 81 | </refsect1> |
| 82 | <refsect1><title>Examples</title> |
| 83 | |
| 84 | &mediaobject.example.seealso.gen; |
| 85 | </refsect1> |
| 86 | </refentry> |
| 87 |