Mallard to HTML - Media Elements
This stylesheet contains templates for handling Mallard media elements. It also handles TTML inside block audio and video media elements.
Defines Templates
- mal2html.media.audio — Output an audio element for an audio object.
- mal2html.media.image — Output an img element for an image.
- mal2html.media.video — Output a video element for a video.
Defines Modes
- mal2html.ttml.mode — Process TTML subtitles in a Mallard media element.
Implements Templates
Mode |
Match |
---|---|
tt:* |
|
mal:media |
|
mal:media |
|
tt:span |
|
tt:br |
|
mal:media |
|
tt:tt |
|
tt:body |
|
tt:div |
|
tt:p |