PlayButtonParams

constructor(isPlaying: Boolean, contentDescription: String?, onClick: () -> Unit)

Parameters

isPlaying

A boolean that represents whether the video is currently playing or paused.

contentDescription

The content description for the button.

onClick

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