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

Android screen orientation


I set my application as
android:screenOrientation="portrait"
it fixes the orientatinon, but once I open jw player fragment and go back, screen rotation is not fixed

3 Community Answers

George

JW Player Support Agent  
0 rated :

You’ll have to take different things into account. Here’s an interface you may want to look into:
https://developer.jwplayer.com/sdk/android/reference/com/longtailvideo/jwplayer/fullscreen/FullscreenHandler.html

weijia

User  
0 rated :

For example, in my menu, it will not rotate because I set the application orinentaion as vertical, but after opening jw player and go back to menu, now the menu rotation is no longer fixed. Can you give a clue how to fix it?

George

JW Player Support Agent  
0 rated :

This really depends on your code, I’d have to see it to make any type of suggestion.

This question has received the maximum number of answers.