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

Commit

Permalink
Update Application.ts add check ipad
Browse files Browse the repository at this point in the history
Signed-off-by: I-m-None-user <[email protected]>
  • Loading branch information
I-m-None-user authored and mcottontensor committed Sep 12, 2023
1 parent 10d61a2 commit 8b25630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frontend/ui-library/src/Application/Application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b25630

Please sign in to comment.