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

[FR] Ability to autoplay audio in feeds/subreddits/multireddits without navigating into the post #514

Open
jdemph1971 opened this issue Jul 10, 2024 · 1 comment
Labels
feature/enhancement New feature or request

Comments

@jdemph1971
Copy link

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
As you are scrolling through a Feed/Subreddit/Multireddit, etc I would like the audio for the video to optionally automatically play without needing to navigate into the post. The way Apollo used to do it I think was roughly as follows if memory serves (but I might be misremembering some of the details):

A small "sound" button that sits on the top right of each media post. It looks like the existing "sound" icon that appears when you click into a piece of media that has audio (such that you start actually hearing the audio). I believe this icon is part of the standard iOS media player that comes baked into iOS. The icon should be small enough to not unreasonably obscure the video but the icon (or at least the hit box) needs to be large enough to be tapped reasonably easily.

The button supports being lit up or darkened. If it is lit up that means that specific video actually contains audio. If it is darkened that means that specific video does not contain audio.

The button can have a diagonal line through it or not. If there is a diagonal line that means the user does not want audio to automatically play when viewed in a Feed/Subreddit/Multireddit (this has no affect on if the app should automatically play audio in the Post view). If there is no diagonal line that means the user wants the audio to automatically play when viewed in a Feed/Subreddit/Multireddit (this has no affect on if the app should automatically play audio in the Post view).

This corresponds to 4x states that the button can have:

  • lit up and without a diagonal line through it
  • lit up and with a diagonal line through it
  • darkened (a.k.a. greyed out) and without a diagonal line through it
  • darkened (a.k.a. greyed out) and with a diagonal line through it

Having all audio in a Feed/Subreddit/Multireddit (this has no affect on if the app should automatically play audio in the Post view) automatically play enabled (no diagonal line) or disabled (diagonal line) is kept until the user clicks the button to toggle it OR the user fully exits the app (not just switches to another app but leaves Winston running in the background). In other words, this should be a setting that lasts for the session and its default value when launching Winston is set by the settings that appear in the "Settings" tab below.

Currently, under Settings -> Behavior -> Posts there is a toggle named "Autoplay videos (muted)" which seems to let you automatically play videos (but only in the muted state) and it seems to affect both the Post view AND the Feed/Subreddit/Multireedit view. I think this single setting should be extended to support for the following:

  • autoplay (muted) in Post view by default when launching Winston
  • autoplay (un-muted) in Post view by default when launching Winston
  • autoplay (muted) in Feed/Subreddit/Multireddit view by default when launching Winston
  • autoplay (un-muted) in Feed/Subreddit/Multireddit view by default when launching Winston

Describe alternatives you've considered
Right now I click into each post in order to know if the post has audio or not and to be able to actually hear the audio if that post does in fact have audio.

Additional context
This is a feature that Apollo had and I believe Narwhal has.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant