rememberTHEOplayerView
Creates and remembers a THEOplayerView owned by the composition.
This couples the lifecycle of the view to the current activity: it automatically calls THEOplayerView.onPause and THEOplayerView.onResume whenever the current activity is paused or resumed (resuming an ad that was interrupted), and it destroys the view when it leaves the composition.
In previews, the SDK does not initialize the view (View.isInEditMode), so do not access its THEOplayerView.player there. UIController and DefaultUI handle this automatically.
Parameters
config
the player configuration