From 8b2563085290dd384bd1a7149718140cd0fe99a7 Mon Sep 17 00:00:00 2001 From: I-m-None-user <122039782+I-m-None-user@users.noreply.github.com> Date: Mon, 31 Jul 2023 14:42:44 +0200 Subject: [PATCH] Update Application.ts add check ipad Signed-off-by: I-m-None-user <122039782+I-m-None-user@users.noreply.github.com> --- Frontend/ui-library/src/Application/Application.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/ui-library/src/Application/Application.ts b/Frontend/ui-library/src/Application/Application.ts index 2864016e..af14c476 100644 --- a/Frontend/ui-library/src/Application/Application.ts +++ b/Frontend/ui-library/src/Application/Application.ts @@ -195,7 +195,7 @@ export class Application { // Or use the one created by the Controls initializer earlier : controls.fullscreenIcon; if (fullScreenButton) { - fullScreenButton.fullscreenElement = /iPhone|iPod/.test(navigator.userAgent) ? this.stream.videoElementParent.getElementsByTagName("video")[0] : this.rootElement; + fullScreenButton.fullscreenElement = /iPad|iPhone|iPod/.test(navigator.userAgent) ? this.stream.videoElementParent.getElementsByTagName("video")[0] : this.rootElement; } // Add settings button to controls