VideoUltra API
    Preparing search index...

    Interface EditorCustomization

    The embedding API (v0.3): what a host app can change about the editor without forking it — hide or reorder built-in tools, add its own panels and top-bar buttons, bring its own media (stock footage, a team library), and listen to what happens. Custom text is labels.

    <VideoEditor
    customize={{
    hide: ['captions', 'blur'],
    railOrder: ['media', 'brand', 'text'],
    panels: [{ id: 'brand', label: 'Brand', icon: 'M4 4h16v16H4z', render: (ctl) => <BrandKit ctl={ctl} /> }],
    buttons: [{ id: 'share', label: 'Share', onClick: (ctl) => share(ctl.project) }],
    mediaSources: [stockFootage],
    }}
    onEvent={(e) => analytics.track(e.type)}
    />
    interface EditorCustomization {
        buttons?: readonly CustomButton[];
        hide?: readonly string[];
        mediaSources?: readonly MediaSource[];
        panels?: readonly CustomPanel[];
        railOrder?: readonly string[];
    }
    Index
    buttons?: readonly CustomButton[]

    The host's own buttons in the top bar, before Export.

    hide?: readonly string[]

    Built-in things to hide, by id: left-menu panels ('templates', 'text', 'captions', 'audio', 'stickers', 'filters', 'transitions', 'blur'), phone / inspector tools ('speed', 'mask', 'key', 'cutout', …), commands ('duplicate', 'copy', …) and the top bar's "Your videos" ('videos'; hosts that keep their own project list).

    mediaSources?: readonly MediaSource[]

    The host's media in the Media panel: search, ▶ thumbnails, Add (stored in the project).

    panels?: readonly CustomPanel[]

    The host's own panels in the left menu (and the phone's add tools).

    railOrder?: readonly string[]

    The left menu's order, by panel id (built-in and custom); the rest follow in their order.