Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit 8b25630

Browse files
I-m-None-usermcottontensor
authored andcommitted
Update Application.ts add check ipad
Signed-off-by: I-m-None-user <122039782+I-m-None-user@users.noreply.github.com>
1 parent 10d61a2 commit 8b25630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Frontend/ui-library/src/Application/Application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export class Application {
195195
// Or use the one created by the Controls initializer earlier
196196
: controls.fullscreenIcon;
197197
if (fullScreenButton) {
198-
fullScreenButton.fullscreenElement = /iPhone|iPod/.test(navigator.userAgent) ? this.stream.videoElementParent.getElementsByTagName("video")[0] : this.rootElement;
198+
fullScreenButton.fullscreenElement = /iPad|iPhone|iPod/.test(navigator.userAgent) ? this.stream.videoElementParent.getElementsByTagName("video")[0] : this.rootElement;
199199
}
200200

201201
// Add settings button to controls

0 commit comments

Comments
 (0)