Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): Fix iOS fullscreen on rotation #4679

Merged
merged 6 commits into from
Dec 6, 2022

Conversation

ocipap
Copy link
Contributor

@ocipap ocipap commented Nov 10, 2022

This refactors and cleans up fullscreen functionality in the UI so that all triggers are consistent and work correctly on all platforms.

See also #4669

@avelad avelad added type: bug Something isn't working correctly component: UI The issue involves the Shaka Player UI labels Nov 10, 2022
@avelad avelad added this to the v4.3 milestone Nov 10, 2022
@avelad avelad added the priority: P2 Smaller impact or easy workaround label Nov 10, 2022
ui/controls.js Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

github-actions bot commented Nov 10, 2022

Incremental code coverage: 12.82%

Copy link
Member

@joeyparrish joeyparrish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is the wrong fix. Please update isFullScreenSupported() instead.

ui/controls.js Outdated Show resolved Hide resolved
@joeyparrish joeyparrish added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Nov 10, 2022
@ocipap ocipap requested review from joeyparrish and avelad and removed request for theodab, joeyparrish and avelad November 11, 2022 02:27
@joeyparrish joeyparrish removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Nov 11, 2022
@ocipap
Copy link
Contributor Author

ocipap commented Nov 11, 2022

ezgif com-gif-maker

Thank you for the review.

An error occurred when I tried to enter fullscreen before the user's interaction, so I added error handling.

Thank you!

@avelad avelad modified the milestones: v4.3, v4.4 Nov 11, 2022
ui/controls.js Outdated Show resolved Hide resolved
ui/controls.js Outdated Show resolved Hide resolved
ui/controls.js Outdated Show resolved Hide resolved
ui/controls.js Outdated Show resolved Hide resolved
@ocipap ocipap requested a review from joeyparrish November 15, 2022 15:13
Copy link
Member

@joeyparrish joeyparrish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great otherwise. Thanks!

ui/controls.js Show resolved Hide resolved
@joeyparrish joeyparrish changed the title fix(ui): check requestFullscreen function when screen rotation event fix(ui): Fix iOS fullscreen on rotation Nov 17, 2022
@ocipap ocipap requested a review from joeyparrish November 21, 2022 15:00
theodab
theodab previously approved these changes Nov 29, 2022
@ocipap
Copy link
Contributor Author

ocipap commented Nov 30, 2022

There are too many errors in the application log, so I want to solve them as soon as possible. 😢
Thank you! @joeyparrish

Copy link
Member

@joeyparrish joeyparrish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good other than the comment. I'll remove it if I have edit rights.

ui/controls.js Outdated Show resolved Hide resolved
@joeyparrish joeyparrish merged commit 86256f4 into shaka-project:main Dec 6, 2022
joeyparrish added a commit that referenced this pull request Dec 8, 2022
This refactors and cleans up fullscreen functionality in the UI so that
all triggers are consistent and work correctly on all platforms.

See also #4669

Co-authored-by: Joey Parrish <[email protected]>
joeyparrish added a commit that referenced this pull request Dec 8, 2022
This refactors and cleans up fullscreen functionality in the UI so that
all triggers are consistent and work correctly on all platforms.

See also #4669

Co-authored-by: Joey Parrish <[email protected]>
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: UI The issue involves the Shaka Player UI priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants