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

JWPlayer Android SDK, Rotates video when I click to FullScreen button


Hi, My problem is so easy to understand. I am an Android Developer. And in Android platform, I want to customize JW Player. Firstly when I click to Full Screen button, JWplayer rotates and reloads video. I do not want that. I want this: when Full Screen video clicked, video should be automatically rotated and resumed.

1 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

Reason for that is because you did not include these attributes in your activity:

<activity ... android:configChanges="keyboard|keyboardHidden|orientation|screenSize" >

As specified in our Developer Guide:
https://developer.jwplayer.com/sdk/android/docs/developer-guide/getting-started/library-project-setup/

You must include those attributes to prevent Android from destroying the Activity upon rotation.

This question has received the maximum number of answers.