<media>

<media> indicates the location of any form of external media such as an audio or video clip etc. [3.10 Graphics and Other Non-textual Components]
Module core — Elements Available in All TEI Documents
Attributes
mimeType⚓︎ (MIME media type) specifies the applicable multimedia internet mail extension (MIME) media type
Derived from att.internetMedia
Status Required
Datatype 1–∞ occurrences of teidata.word separated by whitespace
Member of
Contained by
analysis: cl phr s
gaiji: char glyph
linking: ab seg
tagdocs: eg
textcrit: lem rdg wit witDetail
verse: rhyme
May contain
core: desc
Note

The attributes available for this element are not appropriate in all cases. For example, it makes no sense to specify the temporal duration of a graphic. Such errors are not currently detected.

The mimeType attribute must be used to specify the MIME media type of the resource specified by the url attribute.

Example
<figure>
 <media mimeType="image/pngurl="fig1.png"/>
 <head>Figure One: The View from the Bridge</head>
 <figDesc>A Whistleresque view showing four or five sailing boats in the foreground, and a
   series of buoys strung out between them.</figDesc>
</figure>
Example
<media mimeType="audio/wav"
 url="dingDong.wavdur="PT10S">

 <desc>Ten seconds of bellringing sound</desc>
</media>
Example
<media mimeType="video/mp4"
 url="clip45.mp4dur="PT45Mwidth="500px">

 <desc>A 45 minute video clip to be displayed in a window 500
   px wide</desc>
</media>
Content model
<content>
 <classRef key="model.descLike"
  minOccurs="0maxOccurs="unbounded"/>

</content>
Schema Declaration
<rng:element name="media">
 <rng:ref name="att.typed.attributes"/>
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.resourced.attributes"/>
 <rng:ref name="att.declaring.attributes"/>
 <rng:ref name="att.timed.attributes"/>
 <rng:ref name="att.duration.w3c.attributes"/>
 <rng:ref name="att.duration.iso.attributes"/>
 <rng:ref name="att.media.attribute.width"/>
 <rng:ref name="att.media.attribute.height"/>
 <rng:ref name="att.media.attribute.scale"/>
 <rng:attribute name="mimeType">
  <rng:list>
   <rng:oneOrMore>
    <rng:ref name="teidata.word"/>
   </rng:oneOrMore>
  </rng:list>
 </rng:attribute>
 <rng:zeroOrMore>
  <rng:ref name="model.descLike"/>
 </rng:zeroOrMore>
</rng:element>
element media
{
   att.typed.attributes,
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.resourced.attributes,
   att.declaring.attributes,
   att.timed.attributes,
   att.duration.w3c.attributes,
   att.duration.iso.attributes,
   att.media.attribute.width,
   att.media.attribute.height,
   att.media.attribute.scale,
   attribute mimeType { list { teidata.word+ } },
   model.descLike*
}