Timelinx

CaptionsPanel

Panel for managing captions and subtitles

Deprecated: Use TextPanel instead.

The CaptionsPanel was the original interface for adding and editing captions and subtitles on the timeline. It has been superseded by TextPanel, which provides a more comprehensive text editing experience.

Live Example

Loading...

Usage

// Deprecated  - use TextPanel instead
import { CaptionsPanel, TimelineProvider } from '@timelinx/ui';

function App() {
  return (
    <TimelineProvider engine={engine}>
      <CaptionsPanel />
    </TimelineProvider>
  );
}

Props

Prop

Type

Context Requirement

CaptionsPanel must be inside a TimelineProvider. It reads caption track data and the selected clip from the engine context.

Migration

Replace CaptionsPanel with TextPanel:

import { TextPanel, TimelineProvider } from '@timelinx/ui';

function App() {
  return (
    <TimelineProvider engine={engine}>
      <TextPanel />
    </TimelineProvider>
  );
}

On this page