Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Android orientation issues


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)

1 Community Answers

George

JW Player Support Agent  
0 rated :

You need to set the activity config

https://developer.jwplayer.com/sdk/android/docs/developer-guide/getting-started/library-project-setup/#activity-configuration

This question has received the maximum number of answers.