@builder.io/sdk-vue
Version:
Builder.io SDK for Vue
22 lines (21 loc) • 656 B
TypeScript
import type { BuilderBlock } from '../../types/builder-block';
export interface VideoProps {
attributes?: any;
video?: string;
autoPlay?: boolean;
controls?: boolean;
muted?: boolean;
loop?: boolean;
playsInline?: boolean;
aspectRatio?: number;
width?: number;
height?: number;
fit?: 'contain' | 'cover' | 'fill';
preload?: 'auto' | 'metadata' | 'none';
position?: 'center' | 'top' | 'left' | 'right' | 'bottom' | 'top left' | 'top right' | 'bottom left' | 'bottom right';
posterImage?: string;
lazyLoad?: boolean;
children?: any;
fitContent?: boolean;
builderBlock?: BuilderBlock;
}