Skip to content

SubtitlePlayer

This component is a video player with interactive subtitles. It displays subtitles on top of the video, and allows the user to click on words to get more information about them.

Functions

SubtitlePlayer()

function SubtitlePlayer(props): Element;

Defined in: src/components/SubtitlePlayer.tsx:28

The SubtitlePlayer component.

This component is responsible for the following:

  • Playing a video with subtitles.
  • Parsing and displaying subtitles.
  • Allowing the user to click on words in the subtitles to get more information.

Parameters

Parameter Type Description
props SubtitlePlayerProps The props for the component.

Returns

Element

The SubtitlePlayer component.