Auto Updating Subtitle Display
@Composable
A composable function that displays subtitles with automatic time tracking. This version automatically updates the display based on the current playback time.
Parameters
subtitles
The subtitle cue list to display
current Time Ms
The current playback time in milliseconds
is Playing
Whether the video is currently playing
modifier
The modifier to be applied to the layout
text Style
The text style to be applied to the subtitle text
background Color
The background color of the subtitle box