Skip to content

VideoPlayer

The VideoPlayer component displays and controls playback of meeting recordings captured by Notetaker. It wraps a native HTML5 video element and supports common features like autoplay, mute, looping, and native controls.

When you use the VideoPlayer and Transcript components on the same page, they automatically synchronize. This means…

  • Clicking on a timestamp in the transcript will seek the video recording to that position.
  • The transcript will automatically scroll to and highlight the current segment as the recording plays.
  • Seeking in the video player updates the active transcript segment.
DescriptionSet the video to start playing automatically.
Typeboolean
Defaultfalse
DescriptionOne or more additional class names for the video element.
Typestring
DescriptionSet the video to loop back to the beginning when it ends.
Typeboolean
Defaultfalse
DescriptionMute the sound on the video.
Typeboolean
Defaultfalse
DescriptionA callback generated when the video playback ends.
Type() => void
DescriptionA callback generated when the user pauses the video.
Type() => void
DescriptionA callback generated when the video starts playing.
Type() => void
DescriptionA callback generated when the user moves to a new time in the recording. Receives the new time in seconds.
Type(newTime: number) => void
DescriptionA callback generated for every time update. Receives the current playback time in seconds.
Type(currentTime: number) => void
DescriptionThe URL of the image that displays before the video plays.
Typestring
DescriptionThe MIME type of the video (for example, 'video/mp4'). Used for the <source> tag if videoUrl is provided.
Typestring
DescriptionThe URL of the video. If provided, a <source> tag is rendered with this URL.
Typestring