Video poster
A video poster is an image that is displayed while a video is loading.
Syntax
Authoring format | Syntax and example |
---|---|
XDITA |
|
HDITA |
|
MDITA |
There is no specific support in the MDITA core profile. If needed, use an HDITA snippet. |
Usage information
The video poster component is modeled on the
@poster
attribute that can be specified on the
HTML5 <video>
element.
Attributes
The available attributes vary based on the authoring format:
- XDITA
- The following attributes are available on this element: link relationship attributes, localization attributes, universal
attributes,
and
@keyref
. - HDITA
- The following attributes are available on this element: link relationship attributes, localization attributes, universal
attributes,
and
@keyref
. - MDITA
- For the MDITA core profile, the equivalent
of the XDITA
@keyref
attribute is supported. For the MDITA extended profile, attributes can be specified by using the HDITA representation.
Examples
The following example demonstrates the use of video poster in an XDITA topic.
Example needed
The following example demonstrates the use of video-poster in an HDITA topic.
Example needed