I have implemented YouTubePlayer.OnFullscreenListener and when playing in landscape mode and if error comes due to network or anything else, I want to exit landscape mode.
For this I use: youTubePlayer?.setFullscreen(false)
But, youtube does not exits the fullscreen mode even on call of this. And it is stuck with error screen. 'Tap to retry' doesn't work as well.
Screenshot for reference.