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

Play directly in fullscreen when long-pressing on thumbnail #4548

Closed
wants to merge 1 commit into from

Conversation

Stypox
Copy link
Member

@Stypox Stypox commented Oct 17, 2020

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

This PR implements a long-press gesture on the video thumbnail to start playing the video directly in fullscreen. This gesture obviously applies only if autoplay is disabled and autorotation is disabled.

Fixes the following issue(s)

Fixes #4152

APK testing

@opusforlife2 @EliasKomar @nikhilCad @sanityormadness @johanw666 @DuskyVoltage what do you think of this?
app-debug.zip

Due diligence

@opusforlife2
Copy link
Collaborator

Awesome! Finally! Thank you!

I still think it should be a separate setting, because this is a permanent behaviour that users want every time, as opposed to sometimes using full screen and sometimes not.

@opusforlife2
Copy link
Collaborator

Hmmm. The long press duration seems too long. And the animations seem to have slowed down quite a bit. Both entering and exiting full screen with rotations.

@opusforlife2 opusforlife2 added feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface labels Oct 17, 2020
@avently
Copy link
Contributor

avently commented Oct 17, 2020

What about Android TV users? I think they need this feature more than others. Since long press is not an option for them maybe would be better to use a setting which allows to force fullscreen on every play. What do you think?

@MD77MD
Copy link

MD77MD commented Oct 18, 2020

What about Android TV users? I think they need this feature more than others. Since long press is not an option for them maybe would be better to use a setting which allows to force fullscreen on every play. What do you think?

poor android TV users, they always seems to be forgotten 🤑

@doodhout
Copy link

doodhout commented Oct 29, 2020

Just an FYI, for me any video DOES NOT play in full screen automatically while having autorotation enabled on my phone, it just portrays the same video details view with the video playing only in the thumbnail viewport, even when rotated into landscape mode.

Does this PR add the option to just start playing in full screen regardless of any of these other settings like autorotation? Because I'd like to have 1/ autorotation enabled, and 2/ immediate fullscreen play enabled, both of them.

@krushia
Copy link

krushia commented Nov 23, 2020

Requiring a long press does not solve #4152. The only thing I hate more than mini video players is long pressing.

@doodhout
Copy link

doodhout commented Dec 4, 2020

For several reasons or use-cases, it seems better to give the user the choice (via a setting) to start playing fullscreen immediately (like it was in 0.19) or not fullscreen (like it is since 0.20).

However, there hasn't been any movement on this PR from Stypox, although I can see in his activity log that he's been busy on other stuff. Maybe this can be picked up by someone else if Stypox doesn't mind, or does he still plan on picking this up?

@Stypox
Copy link
Member Author

Stypox commented Dec 7, 2020

I don't think I am going to keep working on this specific PR, as it seems like there is no agreement on how things should work

@doodhout
Copy link

doodhout commented Dec 7, 2020

I think the solution that will satisfy everyone is keep the behaviour from 0.19 and add a user preference to switch to windowed video playback (like in 0.20) if preferred?

@opusforlife2 @avently Do you agree?

I'm wondering why the default behaviour from 0.19 was changed so radically in 0.20 and that's without the option to revert the behaviour by means of a user preference. I don't think it's bad to just reset the baseline to how it was in 0.19 and add choices from there.

@avently
Copy link
Contributor

avently commented Dec 8, 2020

@doodhout

I'm wondering why the default behaviour from 0.19 was changed so radically in 0.20

That's because I had no idea why anyone would want to have auto fullscreen after click on thumbnail. I thought it is non-comfortable thing. Also there were problems with performance of orientation change from portrait to landscape and back (initially). I made performance better only after a couple of months from initial PR

@avently
Copy link
Contributor

avently commented Dec 8, 2020

@doodhout

Do you agree?

I agree that permanent settings is fine in this case. So if a user chose to play in fullscreen he should get thus behavior on every click on thumbnail. However this will not work with auto play on

@Stypox
Copy link
Member Author

Stypox commented Dec 8, 2020

the behaviour from 0.19

The behaviour from 0.19 was autoplay always off, and when tapping on the thumbnail fullscreen is accessed directly?

@krushia
Copy link

krushia commented Dec 9, 2020

@Stypox correct

@opusforlife2
Copy link
Collaborator

I think the solution that will satisfy everyone is keep the behaviour from 0.19 and add a user preference to switch to windowed video playback (like in 0.20) if preferred?

@doodhout It's bad to flip flop on defaults like this. In general, it's better if the user is made aware of a feature than not, because most users don't ever bother checking settings to see what's on offer.

Hence I would suggest the reverse. Let the embedded player stay the default, with the option to go straight to fullscreen with a toggle in settings (which would also have to be linked to the autoplay toggle).

@doodhout
Copy link

@opusforlife2 I agree with not annoying the user with sudden changes to default behaviour, hence the issue behind this PR and the annoyance at the change in 0.20 to play windowed.

I do agree that changing the default again is unnecessary, so your suggestion is fine. 👍

@Stypox
Copy link
Member Author

Stypox commented Jan 14, 2021

So, I thought about another solution. Adding an entry to the Autoplay setting in addition to "Always", "Only on Wi-Fi" and "Never": "Never, and directly enter fullscreen when tapping on the thumbnail". What do you think about this? As @avently said, this setting makes sense only when Autoplay is set to "Never", so it feels just natural to add the entry in the Autoplay menu. Every user changing the autoplay mode comes across it and can decide what he prefers. For TVs the setting would default to "Never, and directly...", since the miniplayer is just in the way on TVs if I understand correctly.
@opusforlife2 @doodhout @krushia @MD77MD @avently

@avently
Copy link
Contributor

avently commented Jan 14, 2021

@Stypox I couldn't imaging so clever idea

@opusforlife2
Copy link
Collaborator

What about discoverability? This solution sounds perfect from our perspective because we just want to add the option back, but how would a new user checking out Newpipe discover that there is an option to go directly to fullscreen?

How about renaming the setting to "Autoplay and full screen"?

@Stypox
Copy link
Member Author

Stypox commented Jan 18, 2021

Ok then. I'm closing this and aiming for the solution discussed above ;-)

@Stypox Stypox closed this Jan 18, 2021
@Stypox Stypox deleted the long-press-fullscreen branch August 4, 2022 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Issue is related to a feature in the app GUI Issue is related to the graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't go directly to fullscreen when tapping thumbnail
6 participants