Video carousel banner
Audience: CMS editors and developers.
Type: VideoSliderBanner.
This banner shows a video carousel with shared playback options.
This banner includes the common banner props.
Properties
id●required
string
CMS ID.
videos●required
VideoProps[]
Videos rendered as slides.
mutedAutoplay●required
boolean
If true, each video starts automatically with sound muted.
hideControls●required
boolean
If true, hide the native playback controls.
loop●required
boolean
If true, repeat each video.
mobileAspect●required
'SIXTEEN_TO_NINE' | 'FOUR_TO_THREE' | 'NINE_TO_SIXTEEN'
Aspect ratio to use on mobile layouts.
Example
const banner: VideoSliderBanner = {
typename: BannerTypename.VideoSlider,
id: 'b_123',
title: null,
titleTag: 'h2',
titleAlign: 'left',
cssId: null,
cssClasses: null,
videos: [{} as any, {} as any],
mutedAutoplay: true,
hideControls: false,
loop: true,
mobileAspect: 'SIXTEEN_TO_NINE'
};Last updated on