diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt index 2ba4c691ca..b5c1109f3e 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/player/FullScreenPlayer.kt @@ -2385,8 +2385,7 @@ open class FullScreenPlayer : AbstractPlayerFragment() { playerBinding?.apply { playerSpeedBtt.isVisible = playBackSpeedEnabled playerResizeBtt.isVisible = playerResizeEnabled - playerRotateBtt.isVisible = - if (isLayout(TV or EMULATOR)) false else playerRotateEnabled + playerRotateBtt.isVisible = playerRotateEnabled if (hideControlsNames) { hideControlsNames() } @@ -2602,6 +2601,9 @@ open class FullScreenPlayer : AbstractPlayerFragment() { } private fun dynamicOrientation(): Int { + if (isLayout(TV or EMULATOR)) { + return ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE + } return if (autoPlayerRotateEnabled) { if (isVerticalOrientation) { ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT diff --git a/app/src/main/res/layout/player_custom_layout_tv.xml b/app/src/main/res/layout/player_custom_layout_tv.xml index 450b77c709..944abf4290 100644 --- a/app/src/main/res/layout/player_custom_layout_tv.xml +++ b/app/src/main/res/layout/player_custom_layout_tv.xml @@ -1,33 +1,33 @@ - - - - - - - - + - - - + - - - - - - + + - - - - - - + - - - - - - - - + - - - - - - + + - - + - - - - - + - - - - + - - - - + - - - - - + - - - + - - - - - - - + + - - + + - - - - - + - - - - - + + - - + - - - - - - - - + - - - - - - - - - + + - - - + - - - - - - - - - + + + - - - - - - - - - - - - - + + + + + + - - - - - - + + + + + - - + \ No newline at end of file