![](https://secure.gravatar.com/avatar/d3074a7c4013f9b7f0eb357a0a019ad2?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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
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
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
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?
This really depends on your code, I’d have to see it to make any type of suggestion.