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


JW Player Support Agent  
0 rated :

You need to set the activity config

This question has received the maximum number of answers.