Skip to content
HomePagesHomePages template kit

VideoValue

A video slot's runtime value after resolution.

A video slot’s runtime value after resolution. Has no cropping or responsive-ladder fields: there is exactly one progressive rendition per video, and a video is selected rather than edited.

Import from @homepages/template-kit.

export type VideoValue = {
video_id: string;
url: string;
poster: string;
poster_responsive?: ResponsiveImage;
alt: string;
width?: number;
height?: number;
source?: VideoSource;
provider?: string;
};