CenterVideoBlock

data class CenterVideoBlock(val imageBlock: Publication.Page.Cell.ImageBlock, val centerVideos: Map<String, List<ClickRegion>>, val clickRegions: List<ClickRegion>) : Publication.Page.Cell.Block

The center video content of a Publication.Page. Multiple CenterVideoBlocks are laid out in an adaptive grid, each of which contain an image with a play button that triggers a fullscreen video in the center of the screen.

Constructors

Link copied to clipboard
constructor(imageBlock: Publication.Page.Cell.ImageBlock, centerVideos: Map<String, List<ClickRegion>>, clickRegions: List<ClickRegion>)

Properties

Link copied to clipboard

A map where each video URL is associated with a list of ClickRegions that determine where the play button is located.

Link copied to clipboard

The list of ClickRegions that define other interactive areas on the image.

Link copied to clipboard
open override val columnSpan: Int

The number of columns that this CenterVideoBlock spans.

Link copied to clipboard

The underlying ImageBlock representation.

Link copied to clipboard
open override val rowSpan: Int

The number of rows that this CenterVideoBlock spans.

Link copied to clipboard

The BlockType of the block.