Yelp

(The Help System)

mal2html.media.video

Output a video element for a video.

Parameters

node

The Mallard media element.

inline

Whether node is inline.

This template outputs an HTML video element for a Mallard media element with the type attribute set to "video". It converts any fallback content in the source to the video element's fallback content. If inline is false, this template will process TTML child content.

If node has a child image media element with the style attribute set to "poster", that image will be used for the poster attribute on the HTML video element.

Calls Templates