How to play video full screen in landscape using exoplayer : <p>I am using exoplayer to play video from url in my android app. In portrait everything work as expected (using viewpager, fragments and tabs inside activity).
My goal is to play the video in full screen when the user is in landscape. It means only the video will play in landscape and all other details will desapear and return back to the original layout when portrait.
How can I achieve this please? or what is the best way to achieve this? any sample code will be appreciate.</p>

<p><a href="https://i.stack.imgur.com/xXOAd.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/xXOAd.jpg" alt="Video to be play when portrait"></a></p>
