Tunous / Dawn

Here lies the fork of greatest open-source Reddit app
Apache License 2.0
452 stars 36 forks source link

Media Auto-plays Even When Not on Screen #268

Open MSPigl opened 4 years ago

MSPigl commented 4 years ago

Auto-playing media, such as gifs, should stop playing when not in view, as this is potentially a big consumer of data if the user doesn't notice the media is continuously looping outside their view. I don't know if this was a conscious design choice or just an oversight. If it was a choice, I think an option to toggle on/off in the settings would be appropriate. This behavior occurs in both the subreddit and post view (when scrolling down to comments).

Steps to reproduce the behavior:

  1. Scroll to any auto-playing content on a subreddit.
  2. Scroll media out of view.
  3. Scroll back up so media is in view.
  4. The media has continued like you were watching it the whole time.

By default, I would expect media to pause when scrolled out of view, and resume where it left off when scrolled back into view.

AbsurdlySuspicious commented 4 years ago

Regarding post view it's duplicate of #124 As for subreddit view - is it even currently possible to play video here without opening viewer?

MSPigl commented 4 years ago

I'm seeing the behavior on r/all for this post specifically: https://reddit.com/r/wholesomegifs/comments/hcfjw3/that_tail_droop_when_the_doggos_date_left/

AbsurdlySuspicious commented 4 years ago

I can't reproduce it with any combination of settings. Videos not being static on sub view until clicked on might be a bug itself xd