futo-org / grayjay-android

Read-only mirror of Grayjay repo for issue tracking
https://gitlab.futo.org/videostreaming/grayjay
Other
795 stars 49 forks source link

Background video (aka audio) should not show a full screen black window #1374

Open doniks opened 1 month ago

doniks commented 1 month ago

What happened?

When I play a video in the background and then switch away and back to grayjay, the app often comes up like a fullscreen video, but all black, since it's playing just the audio. This makes no sense. There is no benefit to showing a black screen. It would be better to show the view with the thumbnail, title, buttons and the three tabs below.

Also, it seems that (always?) most of the time it comes up in landscape mode.

Grayjay Version

264

What plugins are you seeing the problem on?

Youtube

Plugin Version

205

When do you experience the issue?

Relevant log output

No response

Zvonimir-FUTO commented 1 month ago

I fail to reproduce this. Could you please submit logs and attach the UUID here?

codebymatter commented 1 month ago

I liken the black screen actually as it lets me know that a YT video for example isn't playing at 720p or 1080p in fbe background. Having a thumbnail banner is fine as well, honestly its a non-issue to me.

What was a big dealbreaker for me when I used Vanced is that my phones would run warm even when running in background. It made me think fhe video would still play meanwhile audio also played, wbich is a battery-killer. Newpipe handled audio well and so does Gj. Other addons not being YT and YT livestreams do not seem to "turn off" video feed but when I exit app it does play in audio and also in-app screen lock.

Just my opinion.

RainOfPain125 commented 2 weeks ago

This sounds far less like an "issue" or "bug" and rather a feature request to allow users to choose the behaviour of the player when set to "background" mode.

Its likely most people (myself included) prefer the player to display a black screen to signify that it is indeed in background mode and isn't wasting any data on streaming the video.

However (if I'm reading correctly) you're requesting an option for the player to display the static video thumbnail instead of a black screen. Which might make sense for some people, I can see the appeal.