interface VideoDto {
    ad_keys?: object;
    created_at?: string;
    cue_points?: VideoCuePointDto[];
    custom_fields?: Record<string, unknown>;
    description?: string;
    duration?: number;
    economics?: "AD_SUPPORTED" | "FREE";
    id?: string;
    labels?: string[];
    link?: VideoLinkDto;
    long_description?: string;
    name?: string;
    offline_enabled?: boolean;
    playback_rights_id?: string;
    poster?: string;
    poster_sources?: {
        src?: string;
    }[];
    projection?: string;
    published_at?: string;
    reference_id?: string;
    sources?: VideoSourceDto[];
    tags?: string[];
    text_tracks?: VideoTextTrackDto[];
    thumbnail?: string;
    thumbnail_sources?: {
        src?: string;
    }[];
    transcripts?: VideoTranscriptionDto[];
    updated_at?: string;
    variants?: VideoVariantDto[];
}

Properties

ad_keys?: object

map of key/value pairs for ad requests

created_at?: string

when the video was created

cue_points?: VideoCuePointDto[]

array of cue point maps

custom_fields?: Record<string, unknown>

map of fieldname-value pairs

description?: string

video short description

duration?: number

video duration in milliseconds

economics?: "AD_SUPPORTED" | "FREE"

whether video is AD_SUPPORTED

Default

"AD_SUPPORTED"

Example

"AD_SUPPORTED"
id?: string

video id

labels?: string[]

Array of labels for the video

Default

[]

Example

["/nature/wildlife/avian/coastal_birds","/nature/wildlife/avian/coastal_birds/sandpipers","/nature/wildlife/avian/forest_birds"]

map of scheduling properties

long_description?: string

video long description

name?: string

video title

offline_enabled?: boolean

whether video is enabled for offline viewing

playback_rights_id?: string

Associates specified EPA playback rights with video.

poster?: string
poster_sources?: {
    src?: string;
}[]

Type declaration

  • Optional src?: string
projection?: string

The mapping projection for 360° videos, e.g. "equirectangular"

published_at?: string
reference_id?: string

video reference-id (must be unique within the account)

sources?: VideoSourceDto[]

array of video sources (renditions)

tags?: string[]

array of tags

text_tracks?: VideoTextTrackDto[]

array of text track maps

thumbnail?: string
thumbnail_sources?: {
    src?: string;
}[]

Type declaration

  • Optional src?: string
transcripts?: VideoTranscriptionDto[]

array of transcription objects - can only be added on update, not creation

updated_at?: string

when the video was last modified

variants?: VideoVariantDto[]

array of variant objects containing multi-lingual metadata