<media>
Media Object
Description of and pointer to an external file that holds a media object (for example, an animation, a movie).
Remarks
The “content” of the <media> element is not the media object itself, but information concerning the object. The external file that contains the object is named by the @xlink:href attribute.
Position: The @position attribute may be used to indicate whether this element must be anchored at its exact
location within the text or whether it may float, but best practice is to anchor graphics and media objects. The few media objects that float loose in text should be anchored there, and all the media objects inside figures, tables, etc., should be anchored as well, although the outer structure (figure, boxed text) may be allowed to float.
Usage: Display component elements, such as <caption>, should always be used at the highest possible level; in other words, if a <media> element is inside a <fig> element, the <caption>, <long-desc>, etc., should be part of the <fig>, not part of the <media> element. Use a <caption> element on a <media> only when the media object is not enclosed in any other structure or when a figure contains multiple media objects, each of which must have its own <caption>. For similar reasons, the @position attribute should be set to “anchor” for a <media> element that is inside a larger display container such as a <fig>.
Attributes
Content Model
<!ELEMENT media %media-model; >
Expanded Content Model
(alt-text | long-desc | abstract | email | ext-link | uri | caption | object-id | kwd-group | label | attrib | permissions)*
Description
Any combination of:
- Accessibility Elements
- <abstract> Abstract
- Linking Elements
- <caption> Caption of a Figure, Table, etc.
- <object-id> Object Identifier
- <kwd-group> Keyword Group
- <label> Label (of an Equation, Figure, Reference, etc.)
- Ownership Elements
This element may be contained in:
<abstract>, <ack>, <alternatives>, <app>, <app-group>, <array>, <bio>, <body>, <boxed-text>, <chem-struct>, <chem-struct-wrap>, <disp-formula>, <disp-quote>, <fig>, <fig-group>, <floats-group>, <glossary>, <license-p>, <named-content>, <notes>, <p>, <ref-list>, <sec>, <see>, <see-also>, <sig>, <sig-block>, <styled-content>, <supplementary-material>, <table-wrap>, <td>, <term>, <th>, <trans-abstract>
Example 1
Video object with DOI:
...
<media id="v1" mime-subtype="avi" mimetype="video" orientation="portrait"
position="anchor" specific-use="original-format" xlink:href="v1">
<object-id pub-id-type="doi" specific-use="metadata">10.1063/1.4807071.1</object-id>
</media>
...
Example 2
Several media objects as processing alternatives inside an <alternatives> wrapper as part of a figure caption:
... <fig id="f1" orientation="portrait" position="float"> <label>FIG. 1.</label> <caption> <p>(a) Schematic of the working principles of HFM, (b) a typical application scheme for an electric bias in HFM, (c) regulation the conformations and dynamics (trapping, concentration, and sudden stretching) of λ-DNA molecules in HFM, and (d) schematic of the trapping location regulation (enhanced online). [URL: <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.1063/1.4762852.1"> http://dx.doi.org/10.1063/1.4762852.1</ext-link>] <alternatives> <media id="v1" mime-subtype="avi" mimetype="video" orientation="portrait" position="anchor" specific-use="original-format" xlink:href="v1"/> <media mime-subtype="mpeg" mimetype="video" orientation="portrait" position="anchor" specific-use="archival-format" xlink:href="v1"/> <media mime-subtype="x-flv" mimetype="video" orientation="portrait" position="anchor" specific-use="online-format" xlink:href="v1"/> </alternatives> </p> </caption> <graphic orientation="portrait" position="float" xlink:href="f1"/> <graphic id="f1a" orientation="portrait" position="float" xlink:href="dummy1.png"/> <graphic id="f1b" orientation="portrait" position="float" xlink:href="dummy2.png"/> <graphic id="f1c" orientation="portrait" position="float" xlink:href="dummy3.png"/> <graphic id="f1d" orientation="portrait" position="float" xlink:href="dummy4.png"/> </fig> ...