forked from EpicGamesExt/PixelStreamingInfrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request EpicGamesExt#334 from EpicGamesExt/issue219
Remove fullscreen button on iPad if using a non Safari browser (cherry picked from commit 3f10f01) # Conflicts: # Frontend/implementations/EpicGames/src/player.html # Frontend/ui-library/src/Application/Application.ts
- Loading branch information
1 parent
183684d
commit 7a7009e
Showing
2 changed files
with
54 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
<!-- Copyright Epic Games, Inc. All Rights Reserved. --> | ||
<!DOCTYPE HTML> | ||
<html style="width: 100%; height: 100%"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<!-- Optional: apply a font --> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Michroma&family=Montserrat:wght@600&display=swap" rel="stylesheet"> | ||
|
||
<!-- Optional: set some favicons --> | ||
<link rel="shortcut icon" href="./assets/images/favicon.ico" type="image/x-icon"> | ||
<link rel="icon" type="image/png" sizes="96x96" href="./assets/images/favicon-96x96.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="./assets/images/favicon-16x16.png"> | ||
|
||
<!-- Optional: set a title for your page --> | ||
<title>Pixel Streaming</title> | ||
</head> | ||
|
||
<!-- The Pixel Streaming player fills 100% of its parent element but body has a 0px height unless filled with content. As such, we explicitly force the body to be 100% of the viewport height --> | ||
<body style="width: 100vw; height: 100vh; min-height: -webkit-fill-available; font-family: 'Montserrat'; margin: 0px"> | ||
|
||
</body> | ||
|
||
</html> | ||
<!-- Copyright Epic Games, Inc. All Rights Reserved. --> | ||
<!DOCTYPE HTML> | ||
<html style="width: 100%; height: 100%"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
|
||
<!-- Optional: apply a font --> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Michroma&family=Montserrat:wght@600&display=swap" rel="stylesheet"> | ||
|
||
<!-- Optional: set some favicons --> | ||
<link rel="shortcut icon" href="./assets/images/favicon.ico" type="image/x-icon"> | ||
<link rel="icon" type="image/png" sizes="96x96" href="./assets/images/favicon-96x96.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="./assets/images/favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="./assets/images/favicon-16x16.png"> | ||
|
||
<!-- Optional: set a title for your page --> | ||
<title>Pixel Streaming</title> | ||
</head> | ||
|
||
<!-- The Pixel Streaming player fills 100% of its parent element but body has a 0px height unless filled with content. As such, we explicitly force the body to be 100% of the viewport height --> | ||
<body style="width: 100vw; height: 100svh; min-height: -webkit-fill-available; overflow: hidden; overscroll-behavior: none; font-family: 'Montserrat'; margin: 0px"> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters