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)

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 ion screen

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
val shouldLoop: Boolean = true

Whether the video should auto-loop once completed

Link copied to clipboard
val showControls: Boolean = true

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