From e22291d91212bc19acd1069b1f496b41190ef424 Mon Sep 17 00:00:00 2001 From: NodudeWasTaken <75137537+NodudeWasTaken@users.noreply.github.com> Date: Tue, 6 Jun 2023 05:24:13 +0200 Subject: [PATCH] Fix iOS captions (#3729) * Fix iOS captions and fix sceneplayer exceeding container size --- ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx | 1 - ui/v2.5/src/components/ScenePlayer/styles.scss | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx b/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx index b4699e454..249111b92 100644 --- a/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx +++ b/ui/v2.5/src/components/ScenePlayer/ScenePlayer.tsx @@ -278,7 +278,6 @@ export const ScenePlayer: React.FC = ({ chaptersButton: false, }, html5: { - nativeTextTracks: false, dash: { updateSettings: [ { diff --git a/ui/v2.5/src/components/ScenePlayer/styles.scss b/ui/v2.5/src/components/ScenePlayer/styles.scss index 63cc0bc3c..7fcd6c27b 100644 --- a/ui/v2.5/src/components/ScenePlayer/styles.scss +++ b/ui/v2.5/src/components/ScenePlayer/styles.scss @@ -23,6 +23,7 @@ $sceneTabWidth: 450px; .video-wrapper { height: 56.25vw; + max-height: calc(100vh - #{$menuHeight}); overflow: hidden; width: 100%;