RedReader icon indicating copy to clipboard operation
RedReader copied to clipboard

Add preference to enable/disable video looping

Open cliambrown opened this issue 1 month ago • 1 comments

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 #925
  • If false, the Player.REPEAT_MODE_OFF ("Normal playback without repetition", docs) is used instead

cliambrown avatar Nov 12 '25 23:11 cliambrown

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

cliambrown avatar Nov 13 '25 00:11 cliambrown