YouTubeVideo
Overview
YouTubeVideo
represents a YouTube video media asset within the media model. It extends the base video schema with YouTube-specific attributes, including a placeholder image.
Attributes
videoID
type: string
The unique identifier for the YouTube video.
title
type: string
Optional title for the video.
autoplay
type: boolean
Determines if the video should autoplay upon loading.
controls
type: boolean
Determines if the video player controls should be displayed.
mute
type: boolean
Determines if the video should be muted by default.
loop
type: boolean
Determines if the video should loop after ending.
type
type: literal = 'youtube'
Discriminant for the video provider type.
placeholderImage
type: ImageMedia
Optional placeholder image displayed before the video is played.