ad-video-endframe
Description
The <ad-video-endframe> tag can be used as a child of the <ad-video> tag to define content that should appear within the video player when the video has ended.
Must be nested within an tag!
Example Usage
The <ad-video-endframe> tag must be used as a child-element of <ad-video>. Use outside of <ad-video> will not compile.
To use, simply write your own content with the <ad-video-endframe> tag. This element will show, on-top of the video player when the current video is done playing.
Make sure to give your viewers a way to restart the video!
This element will overlay the entire video player, so unless you create buttons to other ways for the user to re-engage or replay the video, the user will not be able to start the video again.
<ad-video id="playerId" name="My Awesome Video" src="/assets/video.mp4" simple-controls poster="/assets/poster.jpg">
<ad-video-endframe>
<!-- Write your end frame content here -->
</ad-video-endframe>
</ad-video>
Options/Attributes
| Name | Value | Default Value | Description |
|---|---|---|---|
show-on-pause | boolean | false | Enables the ad-video-endframe element to show whenever the video is paused, not just when the video has ended completely. Presence of this attribute is considered true, absence is false. |
Updated less than a minute ago
