Overview
You can use the video player component to embed and play video on a webpaeg. A video can provide supplemental information on a page. The videos themselves are usually hosted through YouTube or Vimeo.
Aspect ratio
The video player can be configured for many ratios. The most common aspect ratios are 16:9 and 4:3. The video player should adopt the ratio of the embedded video.
Modifiers
Title
You can add a title to the video player component. This will replace the native video title. This title should be styled as Headline/Small/Bold.
Description
You can include a description beneath the video player and title to provide more context. This description should be styled as Body/Small/Regular.
Transcript link
You can include an optional link that points to the transcript for the video.
Border
You can add a 1px inside border to the video to frame the images. This can be useful when the webpage and the video have similar background colors. Use outline-variant for the video player color.
Border radius
You can add a 32px border radius as a visual element.