Link Search Menu Expand Document

Constructor: pageBlockVideo

Back to constructors index

Video

Attributes:

NameTypeRequiredDescription
autoplayBoolOptionalWhether the video is set to autoplay
loopBoolOptionalWhether the video is set to loop
video_idlongYesVideo ID
captionPageCaptionYesCaption

Type: PageBlock

Example:

$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => PageCaption];