Video
constructor(player: @Composable () -> Unit, aspectRatio: SkapaAspectRatio = SkapaAspectRatio.Ratio16by9, isPlaying: Boolean = false, contentDescription: String?, onClick: () -> Unit)
Parameters
player
The player to be used for the video. Of type Composable. The player should be a composable function.
aspectRatio
The aspect ratio of the video. Of type SkapaAspectRatio.
isPlaying
The boolean value to determine if the video is playing. Of type Boolean.
contentDescription
The content description for the video. Of type String.
onClick
The lambda to be invoked when the video is clicked.