MediaHeroYouTubeBlock
Overview
MediaHeroYouTubeBlock
represents a hero section that features a YouTube video as the main media content, combined with text and call-to-action elements. It is typically used for creating visually engaging sections or banners.
Attributes
id
type: string
A unique identifier for the media hero block.
type
type: literal = 'mediaHeroYouTube'
Discriminant for this block type.
ariaLabel
type: string (optional)
Accessibility label for the media hero block.
media
type: YouTubeVideo (optional)
The YouTube video content associated with the hero block.
variants
type: Variants (optional)
Defines the layout and visual variants for the hero block.