Skip to main content Home
About About the Design SystemRoadmap
Get started OverviewDesignersDevelopers
Foundations OverviewColorGridIconographySpacingTypography
Tokens Overview Global colorbox shadowTypographyborderopacityspacelengthIconBreakpointsMedia Queries
Elements All elements Accordion Alert Announcement Audio player Avatar Back to top Badge Blockquote Breadcrumb Button Card Chip Code block Call to action Dialog Disclosure Footer Health index Icon Jump links Navigation (primary) Navigation (secondary) Pagination PopoverPlanned Progress stepsPlanned Site status Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed
Theming OverviewColor PalettesCustomizingDevelopers
Patterns All PatternsCardTabsFilterFormLinkLink with iconLogo wallSearch barSkip navigationSticky bannerSticky cardTileVideo thumbnail
Personalization All Personalization PatternsAnnouncement
Accessibility FundamentalsAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers
Design/code status Release notes Get support

Video embed

OverviewStyleGuidelinesCodeAccessibilityDemos
StyleAnatomyColor schemeConfigurationSpaceStatesStyleAnatomyColor schemeConfigurationSpaceStates

Style

The video embed element consists of a semitransparent play button with a video thumbnail that overlays the embedded video when it is not playing. There is also an optional slot for a caption that describes the video.

Anatomy

Anatomy of a video component with numbered annotations.
  1. Thumbnail
  2. Play button
  3. Caption

Color scheme

The video embed element is available for both light and dark color schemes. It can include either a light or a dark play button, depending on the thumbnail image underneath.

The user is currently responsible for setting the play button color and preventing color contrast issues between the button and the video thumbnail. If an image is on a light color palette or if its video thumbnail image uses mostly light colors, use a light theme play button for accessibility and vice versa.

Light theme video with the Red Hat logo and a play button on a light gray background Dark theme video with the Red Hat logo and a play button on a black background

Configuration

Caption

The caption can be left-, right-, or center-aligned, depending on how the video is oriented. By default, it is left-aligned.

Video with caption, below, left aligned Video with caption, below, center aligned Video with caption, below, right aligned

Space

Space values remain the same at all viewport sizes.

Diagram of spacing for video

States

Interaction states are visual representations used to communicate the status of an element or pattern.

Hover

The play button’s opacity increases upon hover.

Light theme video on a gray background with a darker play button on hover Dark theme video on a black background with a lighter play button on hover

Focus

On focus, the entire video embed element is outlined by a focus ring, and the play button uses the same opacity as the hover state.

Light theme video with a focus ring outlining the video and a darker play button Dark theme video with a focus ring outlining the video and a lighter play button

Active

The active state is the same as the focus state.

Light theme video with a focus ring outlining the video and a darker play button Dark theme video with a focus ring outlining the video and a lighter play button
© 2021-2025 Red Hat, Inc. Deploys by Netlify