-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Feature Request] Player auto-rotate #4140
Comments
I would love to have this apply for vertical videos. Changing the orientation in Newpipe makes it default and watching a regular video later I have to turn it back on. |
Try this https://github.com/TeamNewPipe/NewPipe/files/5079507/app-debug.zip and reply if you still need forced autorotate. |
@opusforlife2 that's work but better rotate fullscreen media by device rotation. |
Can you rephrase that? I didn't get it. |
Fullscreen media can use system rotation setting, sensor state or bind only one orientation like you implemented right now. Usally many apps read system rotation setting for change screen orientation. When use sensor state app can ignore system setting and rotate everytime if device was rotated. For example you can look at Simple Gallery App - https://github.com/SimpleMobileTools/Simple-Gallery |
I'm asking why do you need sensor based rotation? In the apk I linked above, when you tap on the fullscreen button, if you're watching a vertical video, the video stays in portrait mode, and if you're watching a normal video, then the video rotates to landscape mode. Where is the need to use sensor state? |
Sorry, I not tested it with vertical videos. |
It's alright. I was just looking for clarification because I suspected your issue might be already solved. There could still be some users who want sensor based rotation separate from system rotation. If that is the case, it would be up to the devs whether or not to implement it. Or maybe a contributor could decide to take it up. |
@opusforlife2 this version did the trick although it seems the rotate button is no longer there, not that we need it. What does the globe button do ? i clicked on it and the app crashed for me Exception
Crash log
|
@opusforlife2 yes. I have not set a default browser on the phone. When clicking on a link anywhere else, it asks to choose the browser to open this link in. |
Please add forced auto-rotate in video player.
The text was updated successfully, but these errors were encountered: