<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 — 3 Elements Available in All TEI Documents | ||||||||||
Attributes | att.typed (@type, @subtype) att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) 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 watermark namesdates: addName affiliation birth bloc country death district education faith floruit forename genName geogName nameLink nationality occupation orgName persName placeName region residence roleName settlement sex socecStatus surname textstructure: byline closer dateline docAuthor docDate docEdition docImprint imprimatur opener salute signed titlePart trailer verse: rhyme | ||||||||||
May contain | core: desc | ||||||||||
Declaration |
element media { att.typed.attributes, att.global.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.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 { data.word+ } }, model.descLike* } | ||||||||||
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> | ||||||||||
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. |