Skip to content

VideoStage

The player's video surface: composes the shared VideoPlayer and layers click-through overlay subtitles on top, anchored to the painted frame (computed by useVideoBox) rather than the element box.

Interfaces

VideoStageProps

Defined in: src/features/player/components/VideoStage.tsx:16

Properties

Property Type Defined in
activeCue Cue | null src/features/player/components/VideoStage.tsx:19
blobUrl string | null src/features/player/components/VideoStage.tsx:18
onVideoEl (el) => void src/features/player/components/VideoStage.tsx:17
onWordClick (sentence, word) => void src/features/player/components/VideoStage.tsx:22
preparing boolean src/features/player/components/VideoStage.tsx:21
showFurigana boolean src/features/player/components/VideoStage.tsx:20

Functions

VideoStage()

function VideoStage(props): Element;

Defined in: src/features/player/components/VideoStage.tsx:31

The VideoStage component.

Parameters

Parameter Type Description
props VideoStageProps The props.

Returns

Element

The shared player with overlay subtitles on top.