A lengthy discussion, beginning on TEI-L:
and moving to TEI-Council:
http://lists.village.virginia.edu/pipermail/tei-council/2012/016805.html
suggests that it would be a good idea to have a <media> element which could be used in the same way <graphic> is used for images. Other suggestions:
@mimeType should be obligatory
@medium should be obligatory, with values including video, audio etc.
The element should remain simple, like <graphic> (which might now be seen as syntactic sugar for it), and not venture into the complexities of similar HTML5 elements
Assigning to rahtz to push forward if council agrees. Group set to RED for now as needs a lot more discussion and clarification. -JamesC
I am assuming this waits for the next Council f2f meeting, since its RED
I don't think this is RED. It really didn't seem very difficult to implement as outlined above, so I have taken the liberty of implementing it at rev 11358. Feel free to revert or modify as needed, of course. I note that this has been an outstanding request for many months now and it seems daft not to deal with it when we have a consensus. Leaving ticket open for further discussion anyway.
See also previous ticket 2724997 (from 2009) which could be closed along with this one.
I am not entirely happy with using @type instead of the compulsory @medium suggested;
and I do think @mimeType should be compulsory. allowing for <media> with only the @url being compulsory is asking for trouble, I reckon.
i think theres a reason this wasnt GREEN :-}
@Sebastian: I agree. We can always add @medium later (once we've finished arguing about the values it should have), but how about making @mimeType compulsory right now (before the release)?
@Lou: where did the idea of @scale come from? It seems entirely concerned with output rendering, so I'm not sure it belongs there.
yes. make @mimeType compulsory, leave out att.typed for now until there's a need, or while we debate @medium.
@scale is copied from <graphic>. it's been there for ages, right or wrong, and if <media> is to be a superset of <graphic>, it is easier to let it stay
I'd be inclined to leave it as a member of att.typed, just because whether or not @mimeType and (later) @medium is there, people will surely ask for it. It's a place to put info about codecs, for instance, which people may well wish to do.
Doh on @scale. Sorry Lou.
i think we are done with this. the <media> element now mandates @mimeType, and doesn't use @type to distinguish formats. we'll see how the public reacts to it...