Remove fullscreen button on iPad if using a non Safari browser#334
Merged
mcottontensor merged 7 commits intomasterfrom Nov 29, 2024
Merged
Remove fullscreen button on iPad if using a non Safari browser#334mcottontensor merged 7 commits intomasterfrom
mcottontensor merged 7 commits intomasterfrom
Conversation
lukehb
commented
Nov 28, 2024
lukehb
commented
Nov 28, 2024
lukehb
commented
Nov 28, 2024
lukehb
commented
Nov 28, 2024
lukehb
commented
Nov 28, 2024
lukehb
commented
Nov 28, 2024
lukehb
commented
Nov 28, 2024
lukehb
commented
Nov 28, 2024
lukehb
commented
Nov 28, 2024
lukehb
commented
Nov 28, 2024
|
|
||
| <!-- 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; font-family: 'Montserrat'; margin: 0px"> | ||
| <body style="width: 100vw; height: 100svh; min-height: -webkit-fill-available; overflow: hidden; overscroll-behavior: none; font-family: 'Montserrat'; margin: 0px"> |
Contributor
Author
There was a problem hiding this comment.
This removes scroll bounce zone on iPad that is unhelpful for Pixel Streaming
mcottontensor
approved these changes
Nov 29, 2024
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
mcottontensor
added a commit
to mcottontensor/PixelStreamingInfrastructure
that referenced
this pull request
Nov 29, 2024
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
This was referenced Nov 29, 2024
mcottontensor
added a commit
to mcottontensor/PixelStreamingInfrastructure
that referenced
this pull request
Nov 29, 2024
Remove fullscreen button on iPad if using a non Safari browser (cherry picked from commit 3f10f01) # Conflicts: # Frontend/ui-library/src/Application/Application.ts
mcottontensor
added a commit
to mcottontensor/PixelStreamingInfrastructure
that referenced
this pull request
Nov 29, 2024
Remove fullscreen button on iPad if using a non Safari browser (cherry picked from commit 3f10f01) # Conflicts: # Frontend/ui-library/src/Application/Application.ts
Collaborator
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
mcottontensor
added a commit
that referenced
this pull request
Nov 29, 2024
[UE5.2] Merge pull request #334 from EpicGamesExt/issue219
mcottontensor
added a commit
that referenced
this pull request
Nov 29, 2024
[UE5.3] Merge pull request #334 from EpicGamesExt/issue219
mcottontensor
added a commit
that referenced
this pull request
Nov 29, 2024
[UE5.4] Merge pull request #334 from EpicGamesExt/issue219
1 task
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relevant components:
Problem statement:
#219
Using fullscreen video on iPad + touch interactions + non-Safari browsers = video gets dragged around the screen.
This is fairly unusable for Pixel Streaming but it browser defined behaviour that can't be disabled it seems.
Additionally if you leave fullscreen from one of these non-Safari browsers on the iPad the video stream will pause and cannot be resumed without re-entering fullscreen mode because we hide the video controls.
Solution
Don't allow fullscreen button on these non-Safari browsers on iPad.
Documentation
N/A
Test Plan and Compatibility
Test on iPad on Safari = button still shows up
Test on iPad on Chrome = button is gone