VideoBlock

data class VideoBlock(val imageBlock: Publication.Page.Cell.ImageBlock, val clickRegions: List<ClickRegion>, val videoRegions: List<VideoRegion>, val configuration: VideoPlayback) : Publication.Page.Cell.Block

The video content of a Publication.Page. Multiple VideoBlocks are laid out in an adaptive grid, each of which contain a video and possibly a list of products.

Constructors

Link copied to clipboard
constructor(imageBlock: Publication.Page.Cell.ImageBlock, clickRegions: List<ClickRegion>, videoRegions: List<VideoRegion>, configuration: VideoPlayback)

Properties

Link copied to clipboard
Link copied to clipboard
open override val columnSpan: Int

The number of columns that this VideoBlock spans.

Link copied to clipboard
Link copied to clipboard

The underlying ImageBlock representation.

Link copied to clipboard
open override val rowSpan: Int

The number of rows that this VideoBlock spans.

Link copied to clipboard

The BlockType of the block.

Link copied to clipboard

The one or more regions where the video playback occurs.