Interface VideoContent

Content format of media events with msgtype m.video

interface VideoContent {
    body: string;
    file?: EncryptedFile;
    info?: VideoInfo;
    msgtype: Video;
    url?: string;
}

Hierarchy (view full)

Properties

body: string

A description of the video e.g. ‘Gangnam style’, or some kind of content description for accessibility e.g. ‘video attachment’.

Required if the file is encrypted. Information on the encrypted file, as specified in End-to-end encryption.

info?: VideoInfo

Metadata about the video clip referred to in url.

msgtype: Video

One of: [m.video].

url?: string

Required if the file is unencrypted. The URL (typically mxc:// URI) to the file.

""