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

Set orientation to landscape when entering full screen #3265

Conversation

azisnaufal
Copy link

Task/Issue URL:
#3250

Description

Hi! I'm interested in fixing the issue.
This pull request code is adapted from how Lightning Browser works when YouTube video enters full screen mode. Here's I attach the source code of it. https://github.com/anthonycr/Lightning-Browser/blob/browser2/app/src/main/java/acr/browser/lightning/browser/BrowserActivity.kt please look at method showCustomView() and hideCustomView().
So, this code will make the app turn into landscape mode whenever it enters full screen mode. I haven't tested it on Twitter or TikTok that could have vertical video format.

Steps to test this PR

Same as Issue URL

Feature 1

  • [ ]
  • [ ]

UI changes

Before
Media_230620_232036

After
Media_230620_232350

@cmonfortep
Copy link
Contributor

Sorry for the late response here. We are currently checking staled PRs, and we are closing this one as per our contributions guidelines, we only accept contributions for accepted issues and labeled as Help Wanted. Thanks

@cmonfortep cmonfortep closed this Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants