
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.