Types

InputPageBlockVideo

An input video page block.

Properties

fileName?: string

The file name to assign if applicable.

fileSize?: number

The file’s size.

mimeType?: string

The MIME type to assign if applicable.

chunkSize?: number

Size of each upload chunk in bytes.

signal?: AbortSignal

Upload abort signal.

progressId?: string

A progress ID retrieved from the method getProgressId. If specified, updates on the upload progress will be sent.

type: "video"
video: FileSource

The video.

The video’s caption.

isSpoiler?: boolean

Whether the video is a spoiler.

isLoop?: boolean

Whether the video is played in loop.

isAutoplay?: boolean

Whether the video is automatically played.

linkPreviewId?: string
width?: number

The width of the video.

height?: number

The height of the video.

duration?: number

The duration of the video.

isStreamingSupported?: boolean

Whether streaming is supported.