Skip to content

Types

Player feature types.

Interfaces

Cue

Defined in: src/features/player/types.ts:11

A subtitle cue. words is the pre-tokenized form (server tokenizer), populated once the SRT is parsed.

Properties

Property Type Defined in
end number src/features/player/types.ts:13
raw string src/features/player/types.ts:14
start number src/features/player/types.ts:12
words? JapaneseWord[] src/features/player/types.ts:15

SettingsDrawerProps

Defined in: src/features/player/types.ts:27

Props for the settings drawer / load controls.

Properties

Property Type Defined in
onClose () => void src/features/player/types.ts:33
onSrt (file) => void src/features/player/types.ts:32
onToggleFurigana () => void src/features/player/types.ts:35
onVideo (file) => void src/features/player/types.ts:30
onVideoUrl? (url) => void src/features/player/types.ts:31
showFurigana boolean src/features/player/types.ts:34
srt File | null src/features/player/types.ts:29
video File | null src/features/player/types.ts:28

SubtitlePlayerProps

Defined in: src/features/player/types.ts:19

Props for the SubtitlePlayer / video stage.

Properties

Property Type Defined in
showFurigana boolean src/features/player/types.ts:23
srt File | null src/features/player/types.ts:22
video File src/features/player/types.ts:20
videoUrl? string src/features/player/types.ts:21