VideoPlayback

data class VideoPlayback(val autoplayDelay: Double = 2.0, val shouldAutoplay: Boolean = true, val shouldLoop: Boolean = true, val isAudioEnabled: Boolean = true, val showControls: Boolean = true)(source)

Constructors

Link copied to clipboard
constructor(autoplayDelay: Double = 2.0, shouldAutoplay: Boolean = true, shouldLoop: Boolean = true, isAudioEnabled: Boolean = true, showControls: Boolean = true)

Properties

Link copied to clipboard

The time (in seconds) after which the video will autoplay once visible on screen

Link copied to clipboard

Whether audio is enabled for the video

Link copied to clipboard

Whether the user must explicitly click play, or if it plays once rendered on screen

Link copied to clipboard

Whether the video should auto-loop once completed

Link copied to clipboard

Whether the user-interface controls should be rendered for this block