![](https://secure.gravatar.com/avatar/d19b71a41ef4794c658c3cf8696e5da1?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Android - autorotate to portrait when exiting fullscreen mode
Hi
I'm using JWPlayer on Android and facing the following problem : Exiting the fullscreen mode automatically rotate the view to portrait even if I hold the device in landscape mode.
I'm using a JWPlayerFragment as described below :
mPlayerFragment = JWPlayerFragment.newInstance(playerConfig);
FragmentTransaction ft = getFragmentManager().beginTransaction();
ft.add(R.id.container_mctivity_module, mPlayerFragment);
ft.commit();
mPlayerFragment.setFullscreenOnDeviceRotate(false);
Thx for any help,
Regards.