These are chat archives for jwplayer/jwplayer

13th
Jan 2017
Rajendra Verma
@iamrajendra
Jan 13 2017 09:11
Hi
I am using jwplayer sdk in android.
I want to lock the orientation of player to landscape mode.
paulmandal
@paulmandal
Jan 13 2017 15:21
@iamrajendra This should be pretty easy - create a new class that implements the FullscreenHandler interface but leave all the methods empty. Assign an instance of this class to your JWPlayerView using JWPlayerView.setFullscreenHandler(). This should deactivate the fullscreen button. I'm assuming that your Activity is already in landscape using the screenOrientation property in your AndroidManifest.xml - if that's incorrect please let me know.