How to stopped the Landscape orientation .i did used this code
if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) {
mPlayerView.setFullscreen(getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE, false);
}
did not working (when i orientation the device at the time restart the video)
↧