Props
Route Params
Component Attributes
data-cc-component="video" – Identifies and initializes the componentdata-cc-component-video-id=<video_id> – (string, required): Unique identifier used to match video events to this component.data-cc-component-poster-src="https://greatoverlayimage.jpg" – (string, optional): URL to the poster fileCustom Behavior
started (on play)paused (on pause)completed (on ended)seeked (on seek, with 500ms debounce)progress (every 1 second during playback)1<video controls>
2 <source />
3 <track kind="captions" label="English" srclang="en">
4 <p>
5 Your browser doesn't support HTML video. Here is a
6 <a class="fallback-link" download="video.mp4">link to the video</a> instead.
7 </p>
8</video>data-cc-component="video"data-cc-component-video-id="7d8e63d0-710f-41a3-8d8c-6e752c6239d4"data-cc-component-poster-src="https://cdn.example.com/poster.jp
div and add all relevant data-cc-component-* attributes as above.