Skip to content

Conversation

@cliambrown
Copy link

@cliambrown cliambrown commented Nov 12, 2025

As requested in issue #1075
(However, this PR does not distinguish between videos & gifs)

Note: Very sorry but I was not able to test this because I do not have a Reddit API key.

  • Adds pref_behaviour_video_loop preference (default = true to match current behaviour) with a corresponding checkbox on the "Images/Video" settings page
  • If pref_behaviour_video_loop is true, the Player.REPEAT_MODE_ONE constant is used in ExoPlayerWrapperView.java as added in PR Make videos loop more smoothly #925
  • If false, the Player.REPEAT_MODE_OFF ("Normal playback without repetition", docs) is used instead

@cliambrown
Copy link
Author

Not sure the FeatureFlagHandler.java changes are really necessary, but I included them just in case.

@cliambrown cliambrown marked this pull request as draft November 14, 2025 16:01
@cliambrown cliambrown marked this pull request as ready for review November 14, 2025 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant