yattee icon indicating copy to clipboard operation
yattee copied to clipboard

Greyed out controls with AVPlayer - fixes #503

Open stonerl opened this issue 1 year ago • 7 comments

stonerl avatar Dec 04 '23 14:12 stonerl

Unfortunately this does not seem to resolve this for me, is this fixing any specific case of this issue?

arekf avatar Dec 09 '23 19:12 arekf

Interesting, I had the same problem as the creator of the issue. With the changes, made in the PR, I have working controls on the lock screen now.

IMG_1376 IMG_1375

stonerl avatar Dec 10 '23 00:12 stonerl

I can reproduce the problem by hiding the player with swipe down while using AVPlayer. It stays playing with the background but controls are not working anymore. I tried to debug this few times before but did not manage to find the cause yet.

https://github.com/yattee/yattee/assets/367484/45e2734f-f55c-44c3-9d6a-6ef3e5454eef

arekf avatar Dec 10 '23 14:12 arekf

Which iOS version you're on? I'm running 17.2. Maybe Apple fixed something?

stonerl avatar Dec 11 '23 08:12 stonerl

Yes, 17.2

arekf avatar Dec 11 '23 08:12 arekf

Have you tested this on iPhone as well?

I got an iPad today and there the error persists. But on iPhone I cannot recreate it.

stonerl avatar Dec 11 '23 18:12 stonerl

Okay, I know now what the issue is, but haven't found a solution — yet. This only happens when the option Use system controls with AVPlayer is turned on.

stonerl avatar Dec 11 '23 20:12 stonerl