ComponentsData Display

Video Player

Data Display components with live demos, API references, and tokens.

Native playback and social embeds

Video Player provides native media controls, captions, visibility-aware autoplay, and an enlarged view. YouTube, Facebook, and Instagram links use the provider's own embedded player.

Provider behavior

Direct MP4/WebM URLs use the component controls. Social embeds load after user activation and use provider controls and permissions. The original link remains available. Native play state, seek, tracks, and muted behavior apply to direct media.

Accessibility and mobile

  • Provide a useful player name and captions or a transcript for meaningful audio.
  • Space or K toggles native play; M toggles sound. Tab reaches all controls, and Escape exits enlargement.
  • Controls preserve 48px touch targets, focus indicators, logical RTL spacing, and reduced motion.
  • Enlargement uses a native dialog and keeps the same media node. The app restores focus and scrolling on close.
  • The sample contains a moving geometric card and captions, with no audio.