rememberPlayheadState
fun rememberPlayheadState(player: VideoPlayer, tick: Duration = PlayheadDefaults.Tick): PlayheadState(source)
Follows player's playhead and the length of what it is playing.
Return
State keyed to player, the same instance across recompositions.
Parameters
player
The player to follow.
tick
How often the playhead is read.