RedReader
RedReader copied to clipboard
Add preference to enable/disable video looping
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_looppreference (default = true to match current behaviour) with a corresponding checkbox on the "Images/Video" settings page - If
pref_behaviour_video_loopis true, thePlayer.REPEAT_MODE_ONEconstant is used inExoPlayerWrapperView.javaas added in PR #925 - If false, the
Player.REPEAT_MODE_OFF("Normal playback without repetition", docs) is used instead
Not sure the FeatureFlagHandler.java changes are really necessary, but I included them just in case.