Player icon indicating copy to clipboard operation
Player copied to clipboard

Auto-detect rotation

Open UnlimitedCookies opened this issue 3 years ago • 3 comments

Currently, when you play a horizontal video the player starts in landscape mode and then the player starts sensing that the phone is hold upright, starting the rotate animation each time you open a new video.

I guess you could fix this in two ways:

  1. Read the video metadata before opening the player and then starting out in the video's rotation

  2. Use information from the gyroscope to set the default orientation, like many apps do.

UnlimitedCookies avatar May 03 '22 10:05 UnlimitedCookies

Currently, when you play a horizontal video the player starts in landscape mode

Strange, I'm not experiencing this. Every video starts in portrait mode if I'm holding the phone upright. I'm on version 0.111 (latest build as of 5th May, 2022).

Fmoment1 avatar May 05 '22 08:05 Fmoment1

I am still on 0.104, because that's the latest release on F-Droid. But have there been changes to the rotation mechanics since then?

UnlimitedCookies avatar May 05 '22 13:05 UnlimitedCookies

I don't know, I just relayed what my experience is. I'm on the Play Store version.

Fmoment1 avatar May 06 '22 03:05 Fmoment1

Read the video metadata before opening the player and then starting out in the video's rotation

Accessing files is heavy async operation and generally it shouldn't block UI especially app launch. I also experienced this issue with the animation before so I opted for landscape mode as default (cause most movies/shows are landscape) because of this. Anyway, in the latest versions of Android the app startup looks ok IMHO.

moneytoo avatar Nov 28 '22 21:11 moneytoo