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

Re-add ability to autoplay video when directly opened #2232

Closed
2 of 3 tasks
Phoenix616 opened this issue Mar 19, 2019 · 12 comments
Closed
2 of 3 tasks

Re-add ability to autoplay video when directly opened #2232

Phoenix616 opened this issue Mar 19, 2019 · 12 comments
Labels
feature request Issue is related to a feature in the app

Comments

@Phoenix616
Copy link

There used to be a setting with which videos would automatically start playing if you opened the info page from another app. This functionality seems to have been removed in a recent update and I would like to request it to be added back in. (It was optional to begin with so wouldn't hurt anyone)

I realise that a similar behaviour is possible by selecting "Video Player" as the "Preferred 'open' option" but that has one major drawback: You are not able to quickly go to view the video info activity by pressing the back button e.g. to go to the channel page or view related videos.

There doesn't even seem to be any way to get to the video info from the player as far as I can tell so an extra info button might be useful there too. (But I would prefer the old way because although a new button might work it would still break my "workflow" ;P)

@Phoenix616
Copy link
Author

Yeah that issue kinda relates to my last thought of there not being a way to view the info from the player.

But please note that I'm not requesting that the back button leads to the info page when selecting "Video Player" on the "Open"-dialog, I'm requesting for the old, removed feature being re-added that let us auto-play the video when it was opened from another app and "Show Info" was selected in the "Open" dialog. (Could even be a new "Show Info & Autoplay" option that is later used in an eventual in-info player as requested in #1831)

@Phoenix616
Copy link
Author

I just noticed that this functionality still works on another device of mine and noticed that the stored preference autoplay_through_intent was set which seems to still work even though it doesn't have a config option anymore. Can't really check why — git blame is a bit hard to use on mobile — but will hopefully track the commit that removed it from the menu down soon.

@Phoenix616
Copy link
Author

Actually I managed to find the commit that removed the settings entry: cbfe91f

Was there a reasoning behind removang that @theScrabi and would there be an issue with just re-adding the setting? Because the commit message doesn't seem to really include that... (personally I'm not a fan of multi feature change commits with very short changenotes for this reason)

@nyanpasu64
Copy link
Contributor

nyanpasu64 commented Aug 17, 2019

This behavior was not removed, but the preference entry to turn it on/off was removed from the GUI, while keeping the choice made in an earlier version of the app!

As a result, this invisible config entry causes some older app installations to either autoplay video or not, without any visible configuration differences.

Both 0.16.2 and dev 6a0450b exhibit this hidden state behavior.

@Stypox
Copy link
Member

Stypox commented Aug 17, 2019

I think it would be better to completely drop the autoplay feature and instead implement #1873 (pull request open: #2430)

@Phoenix616
Copy link
Author

The linked issue and PR would be basically useless without the autoplay?

@Stypox
Copy link
Member

Stypox commented Aug 17, 2019

Why? The back button on the screen would bring the user to the video info, while the hardware back button would close the activity.

@Phoenix616
Copy link
Author

Phoenix616 commented Aug 17, 2019

Without auto play being a thing both of these would be exactly the same as the info view will always be the previous activity.

What's your reasoning behind suggesting to remove autoplay anyways? You just linked a slightly related issue/PR without actually going into that.

@Stypox
Copy link
Member

Stypox commented Aug 17, 2019

No, the info view will never be the previous activity. The only change in the pull request is a button that opens a new info activity on top of the video. This way you can access both the previous screen (with the phone's back button) and the info page (with the app's specific button).

@Phoenix616
Copy link
Author

Phoenix616 commented Aug 17, 2019

Oh, I forgot about "Video Player" being one of the preferred options then yeah, if an info view button would be added that would be enough to provide an alternative way to get to the info page I guess. (Would still break my workflow but ¯\_(ツ)_/¯ )

@Stypox
Copy link
Member

Stypox commented Aug 17, 2019

The way you used "autoplay" was more of a workaround than a solution, this is why I think the solution in #2430 is better... sorry for this ;-)

@Stypox
Copy link
Member

Stypox commented Aug 4, 2020

Fixed in #2907, since the autoplay toggle now exists. Refer to #4071 for autoplay not working upon share

@Stypox Stypox closed this as completed Aug 4, 2020
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@nyanpasu64 @Phoenix616 @Stypox and others