NarraLeaf

VideoConfig

The configuration for a video element: its source URL and whether it plays muted.

type VideoConfig = {
    src: string;
    muted: boolean;
};

src

The source of the video. Should be a valid URL.

muted

Whether the video is muted.

On this page