Video: BaseAsset & {
    autoplay: boolean;
    controls: boolean;
    duration: number;
    hasH265?: boolean;
    height: number;
    loop: boolean;
    loopAfter?: number;
    muted: boolean;
    streamId?: string;
    transparent: boolean;
    width: number;
}

Type declaration

  • autoplay: boolean

    Video autoplays

  • controls: boolean

    Show controls

  • duration: number

    The video duration

  • Optional hasH265?: boolean

    Video has a separately uploaded Mac H265 transparent src

  • height: number

    The video height

  • loop: boolean

    Video loops

  • Optional loopAfter?: number

    Video loops after X seconds waiting

  • muted: boolean

    Video is muted

  • Optional streamId?: string

    Cloudflare Stream ID

  • transparent: boolean

    Video has alpha transparency

  • width: number

    The video width