UIController
A TV-oriented UI controller for a THEOplayer view.
This creates a THEOplayerView with the given config that follows the lifecycle of the composition, and loads the given source into its player.
Parameters
the Modifier to be applied to this controller
the player configuration to be used when constructing the THEOplayerView
the source description to load into the player
the background color behind visible controls
content displayed over the center of the player
content displayed when the player encounters a fatal error
controls displayed at the top of the player
controls displayed at the center of the player
controls displayed at the bottom of the player
A TV-oriented UI controller for a THEOplayer view.
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.
Parameters
the Modifier to be applied to this controller
the THEOplayer view to host
the background color behind visible controls
content displayed over the center of the player
content displayed when the player encounters a fatal error
controls displayed at the top of the player
controls displayed at the center of the player
controls displayed at the bottom of the player