DefaultUI
A default THEOplayer UI component for Android TV.
This component provides a great player experience out-of-the-box, that works for all types of streams. It provides all the common playback controls for playing, seeking, changing languages and qualities, and can be fully controlled with a D-pad.
The colors and fonts can be changed by wrapping this inside a THEOplayerTvTheme. For more extensive customizations, we recommend defining your own custom UI using a UIController.
Parameters
the Modifier to be applied to this UI
the player configuration to be used when constructing the THEOplayerView
the source description to load into the player
the stream's title, shown at the top of the player
See also
A default THEOplayer UI component for Android TV.
This component provides a great player experience out-of-the-box, that works for all types of streams. It provides all the common playback controls for playing, seeking, changing languages and qualities, and can be fully controlled with a D-pad.
Use LocalTHEOplayerView and the experimental state holders to access the player inside this UI.
This does not touch the lifecycle of the given view: use rememberTHEOplayerView to create a view owned by the composition, or forward THEOplayerView.onPause, THEOplayerView.onResume and THEOplayerView.onDestroy yourself.
The colors and fonts can be changed by wrapping this inside a THEOplayerTvTheme. For more extensive customizations, we recommend defining your own custom UI using a UIController.
Parameters
the Modifier to be applied to this UI
the THEOplayer view to host in this UI
the stream's title, shown at the top of the player