MediaCardYouTubeBlock
Overview
MediaCardYouTubeBlock
represents a media-rich card that features YouTube video content along with text, call-to-action elements, and optional media. This block type is commonly used for showcasing promotions or informational content with embedded YouTube videos.
Attributes
id
type: string
A unique identifier for the media card block.
type
type: literal = 'mediaCardYouTube'
Discriminant for this block type.
ariaLabel
type: string (optional)
Accessibility label for the media card block.
eyebrowText
type: object (optional)
An optional eyebrow text object with the following structure:
text
: string (optional)format
: literal = 'markdown' | 'html' (optional)
header
type: object (optional)
The header content for the media card, with the following structure:
text
: string (optional)format
: literal = 'markdown' | 'html' (optional)
subcopy
type: object (optional)
The subcopy content for the media card, with the following structure:
text
: string (optional)format
: literal = 'markdown' | 'html' (optional)
ctas
type: CtaBlock[] (optional)
A list of call-to-action elements.
links
type: CtaBlock[] (optional)
A list of link elements.
imageLinks
type: LinkItemBlock[] (optional)
A list of image-based link elements.
variants
type: Variants (optional)
Defines the layout and visual variants for the media card.
textColor
type: TextColorOptions (optional)
Specifies the text color for the media card.
media
type: Media (optional)
The media asset associated with the media card.
youtube
type: YouTubeVideo (optional)
The YouTube video content associated with the media card.