diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/player/PlayerFragment.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/player/PlayerFragment.kt index 408e28bf..6efdf50f 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/player/PlayerFragment.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/player/PlayerFragment.kt @@ -1621,7 +1621,7 @@ class PlayerFragment : Fragment() { onAudioFocusEvent += ::handlePauseEvent activity?.hideSystemUI() - activity?.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE + activity?.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE if (Util.SDK_INT <= 23) { if (!isCurrentlyPlaying) { initPlayer() diff --git a/app/src/main/res/layout/fragment_player.xml b/app/src/main/res/layout/fragment_player.xml index 67dc28c2..2497cd2d 100644 --- a/app/src/main/res/layout/fragment_player.xml +++ b/app/src/main/res/layout/fragment_player.xml @@ -9,7 +9,7 @@ android:keepScreenOn="true" app:backgroundTint="@android:color/black" android:background="@android:color/black" - android:screenOrientation="userLandscape" + android:screenOrientation="sensorLandscape" app:surface_type="texture_view" >