diff --git a/components/video-player/controls/Controls.tsx b/components/video-player/controls/Controls.tsx index cef265ec..7ba3426b 100644 --- a/components/video-player/controls/Controls.tsx +++ b/components/video-player/controls/Controls.tsx @@ -56,6 +56,7 @@ import DropdownViewTranscoding from "./dropdown/DropdownViewTranscoding"; import { EpisodeList } from "./EpisodeList"; import NextEpisodeCountDownButton from "./NextEpisodeCountDownButton"; import SkipButton from "./SkipButton"; +import * as ScreenOrientation from "expo-screen-orientation"; interface Props { item: BaseItemDto; @@ -587,6 +588,9 @@ export const Controls: React.FC = ({ { lightHapticFeedback(); + await ScreenOrientation.lockAsync( + ScreenOrientation.OrientationLock.PORTRAIT_UP + ); router.back(); }} className="aspect-square flex flex-col bg-neutral-800/90 rounded-xl items-center justify-center p-2"