This plugin allows the injection of any HTML content in an independent layer once the media has ended.
The following snippet shows the proper HTML to activate the postroll functionality.
<video width="640" height="360" preload="none" poster="/path/to/poster.jpg">
<source src="/path/to/media.mp4" type="video/mp4">
<link href="/path/to/postroll" rel="postroll">
</video>
Parameter | Type | Default | Description |
---|---|---|---|
postrollCloseText | string | null | Title for button to Postroll layer for WARIA purposes |