hi
when i want convert <video> to <media> in html2tei.xsl, happen error in attribute url and mimeType.
attribute url is empty and mimeType is "image/jpeg". but when i change attribute "match" to match="img|video/source|embed", all <source> convert to <media>
can you submit a test file, please?
<video>
seems to work for me, so I need to see what you are doing differentlythis is example:
<video>
<source src="movie.mp4" type="video/mp4" />
<source src="movie.ogg" type="video/ogg" />
</video>
and test.html attached for full test.
hmm. the problem is that we don't have an equivalent container in the TEI to video or audio with alternate sources. I have (unsatisfactorily) changed the code to just take the first
<source>
. If you can suggest a better solution?i think insert <media> with @corresp and insert <p/> in back matter.
<p/> is contains <media/> with any mimetype.
Also i send request for mailling list TEI-L:
1. add new valid element to media for example: <altMedia/>
2. definition media in <choice/> as valid element.
Per discussion on the Council list: I suggest that the
<media>
element should be able to nest, in order to handle this, with a basic processing model which is similar to that of the HTML<object>
element. We should also consider a similar idea for<graphic>
.As per my comment on Council list, I disagree.
We should consider adding a fallback= attribute to <graphic> and <media> which is a pointer to, e.g., another <graphic> or <media>. Could, of course, point elsewhere.
Council conclusion is that SR should submit a spec for a new grouping element.