Vivid API

Video Player

Video Player is a component used to play and control video content.

Default Configuration

Poster

The poster image is displayed before the video has been interacted with. The poster attribute accepts a url string (absolute or relative) to an image.

Playback Rates

Playback rates can be modified by passing a comma separated string of numbers to the playback-rates attribute. It defaults to 0.5, 1, 1.5, 2.

The playback rates option can be removed by passing an empty string.

Skip By Buttons

By default, the skip backward/forward buttons are enabled and they skip by 10 seconds. They can be set to skip by 0, 5, 10 and 30 seconds using the skip-by attribute. Setting them to 0 removes the buttons.