<media>
<media> indicates the location of any form of external media such as an audio or video clip etc. [3.9 Graphics and Other Non-textual Components] | |||||||||
Module | core — Elements Available in All TEI Documents | ||||||||
Attributes | att.typed (@type, @subtype) att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.resourced (@url) att.declaring (@decls) att.timed (@start, @end) (att.duration (att.duration.w3c (@dur)) (att.duration.iso (@dur-iso)) ) att.media (@width, @height, @scale)
| ||||||||
Member of | |||||||||
Contained by | core: abbr add addrLine author biblScope citedRange corr date del distinct editor email emph expan foreign gloss head headItem headLabel hi item l label measure mentioned name note num orig p pubPlace publisher q quote ref reg rs said sic soCalled speaker stage street term textLang time title unclear dictionaries: case colloc def dictScrap entryFree etym form gen gram gramGrp hyph iType lang lbl mood number orth per pos pron re sense stress subc syll tns usg xr msdescription: accMat acquisition additions catchwords collation colophon condition custEvent decoNote explicit filiation finalRubric foliation heraldry incipit layout material musicNotation objectType origDate origPlace origin provenance rubric secFol signatures source stamp summary support surrogates typeNote watermark namesdates: addName affiliation birth bloc country death district education faith floruit forename genName geogFeat geogName nameLink nationality occupation offset orgName persName placeName region residence roleName settlement sex socecStatus surname tagdocs: eg textstructure: byline closer dateline docAuthor docDate docEdition docImprint imprimatur opener salute signed titlePart trailer transcr: damage facsimile fw metamark mod restore retrace secl sourceDoc supplied surface surplus zone 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/png" url="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.wav" dur="PT10S"> <desc>Ten seconds of bellringing sound</desc> </media> | ||||||||
Example | <media mimeType="video/mp4" url="clip45.mp4" dur="PT45M" width="500px"> <desc>A 45 minute video clip to be displayed in a window 500 px wide</desc> </media> | ||||||||
Content model | <content> | ||||||||
Schema Declaration | <rng:element name="media"> 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* } |