onClick

val onClick: () -> Unit

Parameters

onClick

The action to be performed when the button is clicked. Use this to toggle the play / pause state of the video.