Video
data class Video(val player: @Composable () -> Unit, val aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Ratio16by9, val contentDescription: String?, val onClick: () -> Unit) : MediaContainer
Constructors
Link copied to clipboard
constructor(player: @Composable () -> Unit, aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Ratio16by9, contentDescription: String?, onClick: () -> Unit)
Properties
Link copied to clipboard
The aspect ratio of the video. Of type SkapaAspectRatio.
Link copied to clipboard
The content description for the video. Of type String.
Link copied to clipboard
The player to be used for the video. Of type Composable. The player should be a composable function.