Video player

v2.0

The video player is used for displaying and controlling video content.

  • CSS
  • Marko
  • React
Stylized artwork of a video player.

Considerations

Familiar

The video player works as expected across all platforms.

Performant

The video player optimizes playback to run smoothly.

Connection

Video enables people to express themselves and their content on a deeper level.

Anatomy

Properties

Behavior

Platforms

Best practices

Specs

A video player with specs highlighted. The padding on the top, bottom, left, and right of the video player is 12px. The height of the playhead is 44px. The height of the play button placed in the middle of the video player is 64px. The height of the close button is 32px. the padding between the playhead and the volume slider is 4px.
A playhead, a smaller playhead, and a volume slider is shown with specs highlighted. The height of the playhead is 44px. The padding on the left and right of the playhead is 12px. The padding between the play/pause button and the time elapsed is 12px. The padding between the time elapsed and the progress indicator is 8px. The padding between the progress indicator and the duration is 8px. The padding between the duration and the closed captions icon is 16px. The padding between the closed captions icon, the volume icon, the report icon, the expand/collapse icon, and the overflow icon is 12px. The height of the progress indicator is 4px. The padding between the playhead and the closed caption tooltip is 4px. The closed caption tooltip has a height of 24px, with 8px of padding to the left and right of the tooltip. The width of the volume slider is 32px. The padding at the bottom of the volume slider is 12px. The width of the volume slider rail is 4px.